CVE-2022-25299

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

History

28 Feb 2022, 17:10

Type Values Removed Values Added
References (CONFIRM) https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180 - (CONFIRM) https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 - (CONFIRM) https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 - Patch, Third Party Advisory
CPE cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
CWE CWE-552
First Time Cesanta
Cesanta mongoose
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

18 Feb 2022, 14:30

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-18 13:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-25299

Mitre link : CVE-2022-25299

CVE.ORG link : CVE-2022-25299


JSON object : View

Products Affected

cesanta

  • mongoose
CWE
CWE-552

Files or Directories Accessible to External Parties