Bug 2082203 (CVE-2022-27780) - CVE-2022-27780 curl: percent-encoded path separator in URL host
Summary: CVE-2022-27780 curl: percent-encoded path separator in URL host
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2022-27780
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2082195
TreeView+ depends on / blocked
 
Reported: 2022-05-05 15:07 UTC by Marian Rehak
Modified: 2023-01-13 06:00 UTC (History)
24 users (show)

Fixed In Version: curl 7.83.1
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in curl. This issue occurs because 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. This flaw allows a malicious actor to make circumventing filters.
Clone Of:
Environment:
Last Closed: 2023-01-13 06:00:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-05-05 15:07:26 UTC
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%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.

Comment 3 Product Security DevOps Team 2023-01-13 06:00:35 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-27780


Note You need to log in before you can comment on or make changes to this bug.