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 |
| 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
21 Nov 2024, 06:51
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945 - Patch, Third Party Advisory | |
| References | () https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180 - Exploit, Third Party Advisory | |
| CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 9.8 |
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-11-21 06:51
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
