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.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCesanta Mongoose
APPCesanta< 7.6
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
Related vulnerabilities
CVE-2021-26529CRITICAL9.1PL ✓same product
Zapis poza granicami bufora (OOB write) w Cesanta Mongoose HTTPS — mg_tls_init
CVE-2021-26528CRITICAL9.1PL ✓same product
Zapis poza granicami pamięci (OOB write) w Cesanta Mongoose HTTP server 7.0
CVE-2021-26530CRITICAL9.1PL ✓same product
Zapis poza granicami pamięci (OOB write) w serwerze HTTPS Cesanta Mongoose 7.0
CVE-2020-25756CRITICAL9.8PL ✓same product
Buffer overflow w Cesanta Mongoose — mg_get_http_header
CVE-2019-19307CRITICAL9.8PL ✓same product
Integer overflow w Cesanta Mongoose — błąd parsowania pakietów MQTT