CURL-CVE-2023-23914

    Dashboard / Vulnerabilities / CURL-CVE-2023-23914

    CURL-CVE-2023-23914

    Published: 15 Feb 2023Last Modified: 27 Oct 2026

    Summary: HSTS ignored on multiple requests

    Details: curl's HSTS functionality fail when multiple URLs are requested serially. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. This HSTS mechanism would however surprisingly be ignored by subsequent transfers when done on the same command line because the state would not be properly carried on. Reproducible like this: curl --hsts "" https://curl.se http://curl.se The first URL returns HSTS information that the second URL fails to take advantage of.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.77.0
    Fixed -7.88.0

    Affected versions

    7.87.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-2023-23914 | CVE-DB