Name | CVE-2022-25299 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
phantomjs (PTS) | buster, stretch | 2.1.1+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
phantomjs | source | stretch | (not affected) | | | |
phantomjs | source | buster | (not affected) | | | |
phantomjs | source | (unstable) | (unfixed) | | | |
Notes
[buster] - phantomjs <not-affected> (Vulnerable code introduced later)
[stretch] - phantomjs <not-affected> (Vulnerable code introduced later)
https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945
https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180