CVE-2022-25299
Dashboard / Vulnerabilities / CVE-2022-25299
CVE-2022-25299
Published: 18 Feb 2022Last Modified: 12 Aug 2026
Summary: Arbitrary File Write
Details: This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() 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-25299.json, https://nvd.nist.gov/vuln/detail/CVE-2022-25299, https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180, https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
7.5
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
