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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | cesanta/mongoose | unspecified – < 7.6 | 7.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | phantomjs | No fix yet | — |
| Ubuntu 18.04 LTS | phantomjs | No fix yet | — |
| Ubuntu 16.04 LTS | phantomjs | No fix yet | — |
Advisories 1
- VDE-2022-033 Pilz: PASvisu and PMI affected by multiple vulnerabilities CERT@VDE · Nov 24, 2022