CVE-2019-17352
JFinal file validation vulnerability
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.jfinal » jfinal | < 4.5 | 4.5 |
Blast radius
74% of the dependent artifacts (91) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 404 |
| 2 hops | 102 |
| 3 hops | 9 |
Most used dependents
- com.github.httl » httl24 usages
- com.jfinal » jfinal-undertow18 usages
- com.jfinal » jfinal-weixin13 usages
- cn.dreampie » jfinal-utils11 usages
- io.gamioo » gamioo-common10 usages
- cn.dreampie » jfinal-slf4j8 usages
- com.yucent » weisdk7 usages
- com.github.sogyf » goja-core6 usages
- io.jboot » jboot5 usages
- cc.joymaker.weiop » weiop-dao4 usages
- com.github.fangjinuo.sqlhelper » sqlhelper-jfinal3 usages
- com.jfinal » jfinal-ext33 usages
- com.jfinal » jfinal-ext3 usages
- cc.joymaker.saas.core » saas-core-base3 usages
- cc.joymaker.weiop » weiop-core3 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2019-17352 | nvd.nist.gov |
| Package | jfinal/cos | gitee.com |
| Web | jfinal/jfinal issue #171 | github.com |
| Web | jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a | gitee.com |
| Web | jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130 | gitee.com |
