Description
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 (2)
Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180
Patch, Third Party Advisory x_refsource_misc
https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945
Scores
CVSS v3
9.8
EPSS
0.0141
EPSS Percentile
69.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-552
Status
published
Products (1)
cesanta/mongoose
< 7.6
Published
Feb 18, 2022
Tracked Since
Feb 18, 2026