7.5
CWE
400 770
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2023-25577: Werkzeug may allow high resource usage when parsing multipart form data with many fields

First published: Tue Feb 14 2023(Updated: )

A flaw was found in python-werkzeug. Werkzeug is multipart form data parser, that will parse an unlimited number of parts, including file parts. These parts can be a small amount of bytes, but each requires CPU time to parse, and may use more memory as Python data. If a request can be made to an endpoint that accesses request.data, request.form, request.files, or request.get_data(parse_form_data=False), it can cause unexpectedly high resource usage, allowing an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests, and if many concurrent requests are sent continuously, this can exhaust or kill all available workers.

Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
pip/Werkzeug<2.2.3
2.2.3
Palletsprojects Werkzeug<2.2.3
redhat/python-werkzeug<0:2.0.3-5.el8
0:2.0.3-5.el8
redhat/python-werkzeug<0:2.0.3-4.el9
0:2.0.3-4.el9
redhat/python-werkzeug<0:1.0.1-3.el8
0:1.0.1-3.el8
redhat/python-werkzeug<0:0.14.1-3.1.el7
0:0.14.1-3.1.el7
redhat/python-werkzeug<0:0.14.1-12.el8
0:0.14.1-12.el8
redhat/python-werkzeug<0:2.0.1-5.el9
0:2.0.1-5.el9
debian/python-werkzeug<=0.14.1+dfsg1-4+deb10u1
0.14.1+dfsg1-4+deb10u2
1.0.1+dfsg1-2+deb11u1
2.2.2-3
redhat/python-werkzeug<2.2.3
2.2.3

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-25577?

    CVE-2023-25577 is a vulnerability found in python-werkzeug, a multipart form data parser that can parse an unlimited number of parts, including file parts, which can consume CPU time and memory.

  • What is the severity of CVE-2023-25577?

    CVE-2023-25577 has a severity rating of 7.5 (high).

  • How does CVE-2023-25577 affect software?

    CVE-2023-25577 affects versions of python-werkzeug up to and including 2.2.3.

  • How can I fix CVE-2023-25577?

    To fix CVE-2023-25577, upgrade python-werkzeug to version 2.2.3 or apply the appropriate security patch provided by your vendor.

  • Where can I find more information about CVE-2023-25577?

    You can find more information about CVE-2023-25577 on the CVE website, NVD, and the GitHub repositories for python-werkzeug.

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