CVE-2022-25297
Dashboard / Vulnerabilities / CVE-2022-25297
CVE-2022-25297
Published: 21 Feb 2022Last Modified: 12 Aug 2026
Summary: Arbitrary File Write
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25297.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25297, https://snyk.io/vuln/SNYK-UNMANAGED-DROGONFRAMEWORKDROGON-2407243, https://github.com/drogonframework/drogon/commit/3c785326c63a34aa1799a639ae185bc9453cb447, https://github.com/drogonframework/drogon/pull/1174
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
