CURL-CVE-2021-22924

    Dashboard / Vulnerabilities / CURL-CVE-2021-22924

    CURL-CVE-2021-22924

    Published: 21 Jul 2021Last Modified: 27 May 2026

    Summary: Bad connection reuse due to flawed path name checks

    Details: libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take 'issuer cert' into account and it compared the involved paths *case insensitively*, which could lead to libcurl reusing wrong connections. File paths are, or can be, case sensitive on many systems but not all, and can even vary depending on used file systems. The comparison also did not include the 'issuer cert' which a transfer can set to qualify how to verify the server certificate.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.10.4
    Fixed -7.78.0

    Affected versions

    7.77.0

    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
    CURL-CVE-2021-22924 | CVE-DB