UBUNTU-CVE-2023-38039

Source
https://ubuntu.com/security/CVE-2023-38039
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-38039.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-38039
Related
Published
2023-09-13T00:00:00Z
Modified
2023-09-13T00:00: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

When curl retrieves an HTTP response, it stores the incoming headers so that they can be accessed later via the libcurl headers API. However, curl did not have a limit in how many or how large headers it would accept in a response, allowing a malicious server to stream an endless series of headers and eventually cause curl to run out of heap memory.

References

Affected packages

Ubuntu:24.04:LTS / curl

Package

Name
curl
Purl
pkg:deb/ubuntu/curl?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.2.1-1ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "curl"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "curl-dbgsym"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl3-gnutls"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl3-gnutls-dbgsym"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl3-nss"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl3-nss-dbgsym"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4-dbgsym"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4-doc"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4-gnutls-dev"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4-nss-dev"
        },
        {
            "binary_version": "8.2.1-1ubuntu3",
            "binary_name": "libcurl4-openssl-dev"
        }
    ]
}