{"id":"CVE-2022-25297","aliases":["EUVD-2022-29984","GHSA-5gj5-vjr8-vv8h","SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243"],"status":"published","title":"Arbitrary File Write","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01647,"percentile":0.76815,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-552"],"published":"2022-02-21T08:00:17Z","modified":"2026-10-28T10:25:48Z","products":[{"vendor":"drogon","product":"drogon"}],"references":[{"url":"https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","advisory"]},{"url":"https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/drogonframework/drogon/pull/1174","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25297","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5gj5-vjr8-vv8h"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25297.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-25297","title":"Arbitrary File Write","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","status":"published","published":"2022-02-21T08:00:17.382Z","modified":"2024-09-16T17:03:37.145Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-29984","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","status":"published","published":"2022-02-21T08:00:17Z","modified":"2024-09-16T17:03:37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:55:45.787721Z"}],"ghsa":[{"id":"GHSA-5gj5-vjr8-vv8h","title":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names...","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","status":"published","published":"2022-02-22T00:00:30Z","modified":"2023-02-03T05:06:26Z","cwes":["CWE-552"],"updated_at":"2026-11-02T14:53:53.812094Z"}],"nvd":[{"id":"CVE-2022-25297","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","status":"published","published":"2022-02-21T08:15:06.607Z","modified":"2026-06-17T04:33:20.703Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-552"],"updated_at":"2026-11-02T14:07:12.711288Z"}],"osv":[{"id":"CVE-2022-25297","title":"Arbitrary File Write","description":"This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.","status":"published","published":"2022-02-21T08:00:17.382Z","modified":"2026-10-28T10:25:48.798258705Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:24.428403Z"}]}}
