CURL-CVE-2022-27780

    Dashboard / Vulnerabilities / CURL-CVE-2022-27780

    CURL-CVE-2022-27780

    Published: 11 May 2022Last Modified: 27 May 2026

    Summary: percent-encoded path separator in URL host

    Details: The curl URL parser wrongly accepts percent-encoded URL separators like '/' when decoding the hostname part of a URL, making it a *different* URL using the wrong hostname when it is later retrieved. For example, a URL like `http://example.com%2F10.0.0.1/`, would be allowed by the parser and get transposed into `http://example.com/10.0.0.1/`. This flaw can be used to circumvent filters, checks and more.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.80.0
    Fixed -7.83.1

    Affected versions

    7.83.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-2022-27780 | CVE-DB