CVE-2022-27780
Reported by hackerone · Published June 1, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | haxx | 7.83.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 7.83.1 |
| netapp | ontap_9 | 0 |
| netapp | solidfire_\&_hci_storage_node | 0 |
| n/a | https://github.com/curl/curl | 7.83.1 |
| netapp | hci_bootstrap_os | 0 |
| amazon:2023 | curl-minimal | 0 |
| alpine | curl | 0, 0 |
| amazon:2023 | libcurl-devel | 0 |
| amazon:2023 | curl | 0 |
| amazon:2023 | libcurl | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| arch | curl | 0 |
| amazon:2023 | libcurl-minimal | 0 |
| haxx | curl | 0 |
| netapp | solidfire_\&_hci_management_node | 0, * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
Timeline
- May 11, 2022 PoC Published (3 in total, the first dated here)
- Jun 1, 2022 CVE Published
- Jun 2, 2022 EPSS Score (30 in total, the first dated here)
- Mar 21, 2026 Security Advisory (8 in total, the first dated here)
- Jun 28, 2026 Coalition ESS Score
- Jul 2, 2026 Distribution Patch (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-27780
vulnetix vdb fixes CVE-2022-27780
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-27780/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202212-01 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url