CVE-2022-27780

State
Published
Severity
5.3 Medium
Published
Jun 1, 2022
Updated
Oct 14, 2026
Reserved
Mar 23, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NCISA-ADP

Weaknesses

  • CWE-177 Improper Handling of URL Encoding (Hex Encoding) (CWE-177)

Affected Products

ProductVersions
https://github.com/curl/curln/a
  • Fixed in 7.83.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.