OESA-2024-2472

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-2472
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-2472.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-2472
Upstream
Published
2024-11-22T14:23:29Z
Modified
2025-09-03T06:20:48.540612Z
Summary
curl security update
Details

cURL is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various protocols.

Security Fix(es):

When curl is asked to use HSTS, the expiry time for a subdomain might overwrite a parent domain's cache entry, making it end sooner or later than otherwise intended. This affects curl using applications that enable HSTS and use URLs with the insecure HTTP:// scheme and perform transfers with hosts like x.example.com as well as example.com where the first host is a subdomain of the second host. (The HSTS cache either needs to have been populated manually or there needs to have been previous HTTPS accesses done as the cache needs to have entries for the domains involved to trigger this problem.) When x.example.com responds with Strict-Transport-Security: headers, this bug can make the subdomain's expiry timeout bleed over and get set for the parent domain example.com in curl's HSTS cache. The result of a triggered bug is that HTTP accesses to example.com get converted to HTTPS for a different period of time than what was asked for by the origin server. If example.com for example stops supporting HTTPS at its expiry time, curl might then fail to access http://example.com until the (wrongly set) timeout expires. This bug can also expire the parent's entry earlier, thus making curl inadvertently switch back to insecure HTTP earlier than otherwise intended.(CVE-2024-9681)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP4 / curl

Package

Name
curl
Purl
pkg:rpm/openEuler/curl&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.79.1-33.oe2203sp4

Ecosystem specific

{
    "noarch": [
        "curl-help-7.79.1-33.oe2203sp4.noarch.rpm"
    ],
    "src": [
        "curl-7.79.1-33.oe2203sp4.src.rpm"
    ],
    "x86_64": [
        "curl-7.79.1-33.oe2203sp4.x86_64.rpm",
        "curl-debuginfo-7.79.1-33.oe2203sp4.x86_64.rpm",
        "curl-debugsource-7.79.1-33.oe2203sp4.x86_64.rpm",
        "libcurl-7.79.1-33.oe2203sp4.x86_64.rpm",
        "libcurl-devel-7.79.1-33.oe2203sp4.x86_64.rpm"
    ],
    "aarch64": [
        "curl-7.79.1-33.oe2203sp4.aarch64.rpm",
        "curl-debuginfo-7.79.1-33.oe2203sp4.aarch64.rpm",
        "curl-debugsource-7.79.1-33.oe2203sp4.aarch64.rpm",
        "libcurl-7.79.1-33.oe2203sp4.aarch64.rpm",
        "libcurl-devel-7.79.1-33.oe2203sp4.aarch64.rpm"
    ]
}