CVE-2022-25299
Last modified
CVE-2022-25299 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cesanta | Mongoose | < 7.6 |
References
- https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180Exploit, Third Party Advisory
- https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25299?
How severe is CVE-2022-25299?
How do I fix CVE-2022-25299?
Are you affected by CVE-2022-25299?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
