{"id":"GHSA-279p-pc38-xx4p","summary":"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.","aliases":["CVE-2019-17352"],"modified":"2023-11-08T04:01:23.316213Z","published":"2022-05-25T19:21:15Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-05-25T19:21:15Z","nvd_published_at":"2019-10-08T13:15:00Z","cwe_ids":["CWE-434"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17352"},{"type":"WEB","url":"https://github.com/jfinal/jfinal/issues/171"},{"type":"PACKAGE","url":"https://gitee.com/jfinal/cos"},{"type":"WEB","url":"https://gitee.com/jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a"},{"type":"WEB","url":"https://gitee.com/jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130"}],"affected":[{"package":{"name":"com.jfinal:jfinal","ecosystem":"Maven","purl":"pkg:maven/com.jfinal/jfinal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5"}]}],"versions":["1.4","1.4.0","1.5","1.6","1.8","1.9","2.0","2.1","2.2","3.0","3.1","3.2","3.3","3.4","3.5","3.6","3.7","3.8","4.0","4.1","4.2","4.3","4.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-279p-pc38-xx4p/GHSA-279p-pc38-xx4p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}