What’s Vulnerable › Vulnerabilities

CVE-2022-25299: Arbitrary File Write

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

How to fix

Upgrade to a fixed version: Cesanta Mongoose 7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-25299 or the next vulnerability affects your stack