ADVISORIES

GitHub Advisory Database

GHSA-279p-pc38-xx4p

JFinal file validation vulnerability

Details

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 packages

EcosystemPackageAffected versions
Mavencom.jfinal:jfinal
All versions before 4.5 (fixed in 4.5)

References