{"id":"CVE-2019-17352","aliases":["EUVD-2022-1930","GHSA-279p-pc38-xx4p"],"status":"published","title":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01743,"percentile":0.77917,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-434"],"published":"2019-10-08T12:13:36Z","modified":"2026-10-20T10:50:49Z","fixes":[{"ecosystem":"Maven","package":"com.jfinal:jfinal","fixed_in":["4.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.jfinal:jfinal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"jfinal","product":"jfinal"}],"references":[{"url":"https://github.com/jfinal/jfinal/issues/171","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://gitee.com/jfinal/cos/commit/5eb23d6e384abaad19faa7600d14c9a2f525946a","tags":["x_refsource_MISC","x_transferred","Permissions Required","Vendor Advisory","report","web"]},{"url":"https://gitee.com/jfinal/cos/commit/8d26eec61f0d072a68bf7393cf3a8544a1112130","tags":["x_refsource_MISC","x_transferred","Permissions Required","Vendor Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17352","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-279p-pc38-xx4p"},{"url":"https://gitee.com/jfinal/cos","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-17352","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.","status":"published","published":"2019-10-08T12:13:36Z","modified":"2024-08-05T01:40:15.118Z","updated_at":"2026-11-02T14:20:24.989116Z"}],"euvd":[{"id":"EUVD-2022-1930","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.","status":"published","published":"2019-10-08T12:13:36Z","modified":"2024-08-05T01:40:15Z","updated_at":"2026-11-03T02:40:29.306082Z"}],"ghsa":[{"id":"GHSA-279p-pc38-xx4p","title":"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.","status":"published","published":"2022-05-25T19:21:15Z","modified":"2023-01-27T05:01:57Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2019-17352","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.","status":"published","published":"2019-10-08T13:15:15.957Z","modified":"2026-06-17T02:23:47.18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:05:31.019577Z"}],"osv":[{"id":"CVE-2019-17352","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.","status":"published","published":"2019-10-08T13:15:15.957Z","modified":"2026-10-20T10:50:49.555232471Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:11.673963Z"},{"id":"GHSA-279p-pc38-xx4p","title":"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.","status":"published","published":"2022-05-25T19:21:15Z","modified":"2023-11-08T04:01:23.316213Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
