UBUNTU-CVE-2023-25577

Source
https://ubuntu.com/security/CVE-2023-25577
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25577.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-25577
Related
Published
2023-02-14T20:15:00Z
Modified
2023-02-14T20:15:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. 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. 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. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.4+dfsg1-1ubuntu1.2+esm1

Affected versions

0.*

0.10.4+dfsg1-1ubuntu1
0.10.4+dfsg1-1ubuntu1.1
0.10.4+dfsg1-1ubuntu1.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm1",
            "binary_name": "python-werkzeug"
        },
        {
            "binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm1",
            "binary_name": "python-werkzeug-doc"
        },
        {
            "binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm1",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Ubuntu:18.04:LTS / python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.14.1+dfsg1-1ubuntu0.2

Affected versions

0.*

0.12.2+dfsg1-2
0.13+dfsg1-1
0.14.1+dfsg1-1
0.14.1+dfsg1-1ubuntu0.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.14.1+dfsg1-1ubuntu0.2",
            "binary_name": "python-werkzeug"
        },
        {
            "binary_version": "0.14.1+dfsg1-1ubuntu0.2",
            "binary_name": "python-werkzeug-doc"
        },
        {
            "binary_version": "0.14.1+dfsg1-1ubuntu0.2",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Ubuntu:20.04:LTS / python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.16.1+dfsg1-2ubuntu0.1

Affected versions

0.*

0.14.1+dfsg1-4
0.15.6+dfsg1-1
0.16.0+dfsg1-1
0.16.1+dfsg1-1ubuntu1
0.16.1+dfsg1-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.16.1+dfsg1-2ubuntu0.1",
            "binary_name": "python-werkzeug-doc"
        },
        {
            "binary_version": "0.16.1+dfsg1-2ubuntu0.1",
            "binary_name": "python3-werkzeug"
        }
    ]
}

Ubuntu:22.04:LTS / python-werkzeug

Package

Name
python-werkzeug
Purl
pkg:deb/ubuntu/python-werkzeug?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.2+dfsg1-1ubuntu0.22.04.1

Affected versions

1.*

1.0.1+dfsg1-2

2.*

2.0.2+dfsg1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.0.2+dfsg1-1ubuntu0.22.04.1",
            "binary_name": "python-werkzeug-doc"
        },
        {
            "binary_version": "2.0.2+dfsg1-1ubuntu0.22.04.1",
            "binary_name": "python3-werkzeug"
        }
    ]
}