CVE-2022-25297: Arbitrary File Write

Published Feb 21, 2022
·
Updated

This affects the package drogonframework/drogon before 1.7.5. The unsafe handling of file names during upload using HttpFile::save() method may enable attackers to write files to arbitrary locations outside the designated target folder.

Affected Software

1 affected component
Drogon Drogon<1.7.5

Event History

Feb 21, 2022
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-25297?

CVE-2022-25297 is considered a high severity vulnerability due to the potential for arbitrary file writing.

2

How do I fix CVE-2022-25297?

To fix CVE-2022-25297, upgrade to Drogon version 1.7.5 or later where this vulnerability has been addressed.

3

What types of attacks can CVE-2022-25297 enable?

CVE-2022-25297 can enable attackers to write files to arbitrary locations on the server, leading to potential unauthorized access or data leaks.

4

Which versions of Drogon are affected by CVE-2022-25297?

CVE-2022-25297 affects all versions of Drogon before 1.7.5.

5

What is the context of CVE-2022-25297?

CVE-2022-25297 relates to unsafe file handling during uploads using the HttpFile::save() method in the Drogon framework.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203