CVE Catalog

CVE-2022-27780

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.47%

84th percentile - higher than 84% of all known CVEs

Summary

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

Risk Assessment

An attacker could exploit this vulnerability to bypass security filters and gain access to unauthorized resources or conduct SSRF attacks.

Recommendation

Update curl to a version containing the fix. Verify that applications using curl are not susceptible to filter bypass.

Other vulnerabilities in curl

See all
Original NVD description (English source)

The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.com%2F127.0.0.1/`, would be allowed bythe parser and get transposed into `http://example.com/127.0.0.1/`. This flawcan be used to circumvent filters, checks and more.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS