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
Link | Resource |
---|---|
https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180 | Exploit Third Party Advisory |
Configurations
History
28 Feb 2022, 17:10
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-552 | |
CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 7.5 |
References | (CONFIRM) https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 - Patch, Third Party Advisory | |
References | (CONFIRM) https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180 - Exploit, Third Party Advisory | |
CPE | cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:* |
18 Feb 2022, 14:30
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-02-18 13:15
Updated : 2024-02-04 22:29
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