PYSEC-2023-221

    Dashboard / Vulnerabilities / PYSEC-2023-221

    PYSEC-2023-221

    Published: 25 Oct 2023Last Modified: 8 Nov 2023

    Summary:

    Details: Werkzeug is a comprehensive WSGI web application library. If an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows 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. This vulnerability has been patched in version 3.0.1.

    Affected packages

    Package

    Name: werkzeug

    Purl: pkg:pypi/werkzeug

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    0.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High