CWE
552
Advisory Published
Updated

CVE-2022-25299: Arbitrary File Write

First published: Fri Feb 18 2022(Updated: )

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.

Credit: report@snyk.io

Affected SoftwareAffected VersionHow to fix
Cesanta Mongoose<7.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-25299?

    CVE-2022-25299 is a vulnerability that affects the package cesanta/mongoose before version 7.6.

  • What is the severity of CVE-2022-25299?

    The severity of CVE-2022-25299 is critical with a severity value of 7.5.

  • How does CVE-2022-25299 affect Cesanta Mongoose?

    CVE-2022-25299 in Cesanta Mongoose allows unsafe handling of file names during upload, enabling attackers to write files to arbitrary locations outside the designated target folder.

  • How can I fix CVE-2022-25299?

    To fix CVE-2022-25299, it is recommended to update the cesanta/mongoose package to version 7.6 or above.

  • Is there any reference for CVE-2022-25299?

    Yes, you can find more information about CVE-2022-25299 at the following references: [GitHub](https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945) and [Snyk](https://snyk.io/vuln/SNYK-UNMANAGED-CESANTAMONGOOSE-2404180).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203