CVE-2019-17352 json
JFinal file validation vulnerability
published 2019-10-08 7 y ago modified 2026-06-17 4 mo ago also GHSA-279p-pc38-xx4p , EUVD-2022-1930
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
In JFinal cos before 2019-08-13, as used in JFinal 4.4, there is a vulnerability that can bypass the isSafeFile() function: one can upload any type of file. For example, a .jsp file may be stored and almost immediately deleted, but this deletion step does not occur for certain exceptions.
Patch / fix
- maven com.jfinal:jfinal 4.5
- jfinal jfinal 4.4
- gitee.com/jfinal/cos@5eb23d6 commit
- gitee.com/jfinal/cos@8d26eec commit
Exploit prediction
1.74% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jfinal/jfinal/issues/171 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.jfinal:jfinal | <4.5 |
4.5 |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
gitee.com
/jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a
web, permissions-required, vendor-advisory
-
gitee.com
/jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130
web, permissions-required, vendor-advisory
-
github.com
/jfinal/jfinal/issues/171
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-17352
advisory
-
gitee.com
/jfinal/cos
package
Sources
- CVE List CVE-2019-17352
- GitHub Advisory GHSA-279p-pc38-xx4p
- NVD CVE-2019-17352
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.