VULNERABILITY INTELLIGENCE
CVE-2022-27780
CVSS score7.5 HIGH
EPSS probability2.52%
CISA KEVNot currently listed
Published2022-06-02
Last modified2026-10-14
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
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.
Weakness classification
- CWE-177: Improper Handling of URL Encoding (Hex Encoding)
- CWE-918: Server-Side Request Forgery (SSRF)
Primary references
- support@hackerone.com — Exploit, Third Party Advisory
- support@hackerone.com — Third Party Advisory
- support@hackerone.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e