CVE-2022-25299

HIGHCVSS 7.5/10EPSS 1.41%

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
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
1.41%

69.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CesantaMongoose< 7.6

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-25299?
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.
How severe is CVE-2022-25299?
CVE-2022-25299 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.41% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25299?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-25299?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST