HIGH7.5
GHSA-279p-pc38-xx4p
JFinal file validation vulnerability
Quick fix
GHSA-279p-pc38-xx4p — com.jfinal:jfinal: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.5</version> for com.jfinal:jfinalDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.jfinal:jfinal
Introduced in:
0Fixed in: 4.5Fix
# pom.xml: bump <version>4.5</version> for com.jfinal:jfinalReferences
- https://nvd.nist.gov/vuln/detail/CVE-2019-17352[ADVISORY]
- https://github.com/jfinal/jfinal/issues/171[WEB]
- https://gitee.com/jfinal/cos[PACKAGE]
- https://gitee.com/jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a[WEB]
- https://gitee.com/jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130[WEB]