Bug 2060020 (CVE-2022-0691) - CVE-2022-0691 npm-url-parse: authorization bypass through user-controlled key
Summary: CVE-2022-0691 npm-url-parse: authorization bypass through user-controlled key
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0691
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2060936 2060939 2060941 2110613 2110614 2110859
Blocks: 2057443
TreeView+ depends on / blocked
 
Reported: 2022-03-02 14:24 UTC by Marian Rehak
Modified: 2023-09-01 03:03 UTC (History)
24 users (show)

Fixed In Version: url-parse 1.5.9
Doc Type: If docs needed, set a value
Doc Text:
An authorization bypass flaw was found in url-parse. This flaw allows a local unauthenticated attacker to add a backspace character (\b) while submitting a URL. This vulnerability can enable bypassing any hostname checks.
Clone Of:
Environment:
Last Closed: 2022-11-25 15:54:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:6429 0 None None None 2022-09-13 00:58:32 UTC

Description Marian Rehak 2022-03-02 14:24:46 UTC
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.9.

Reference:

https://github.com/unshiftio/url-parse/commit/0e3fb542d60ddbf6933f22eb9b1e06e25eaa5b63
https://huntr.dev/bounties/57124ed5-4b68-4934-8325-2c546257f2e4

Comment 2 juneau 2022-03-04 15:55:28 UTC
services affected per following:

services-ccx/advisor-frontend:a764354/url-parse-1.5.1 https://github.com/RedHatInsights/ocp-advisor-frontend/blob/prod-stable/package-lock.json

services-management-platform/frontend-starter-app/frontend-starter-app:2b2ef7d/url-parse-1.5.1 https://github.com/RedHatInsights/sed-frontend/blob/master/package-lock.json

services-rhods/rhods/jupyterhub-odh:64e363a/url-parse-1.4.7 https://github.com/red-hat-data-services/jupyterhub-odh/blob/master/package-lock.json

services-rhcert/rhcert-spa:c8824a1/url-parse-1.5.3 https://gitlab.cee.redhat.com/certification/rhcert-spa/blob/master/package-lock.json
services-rhcert/rhcert-spa:c8824a1/url-parse-1.5.3 https://gitlab.cee.redhat.com/certification/rhcert-spa/blob/master/yarn.lock

services-assisted-installer/facet:11c368f/url-parse-1.5.3 https://github.com/openshift-assisted/assisted-ui/blob/master/yarn.lock

Comment 7 errata-xmlrpc 2022-09-13 00:58:30 UTC
This issue has been addressed in the following products:

  Red Hat Migration Toolkit for Containers 1.7

Via RHSA-2022:6429 https://access.redhat.com/errata/RHSA-2022:6429

Comment 8 Product Security DevOps Team 2022-11-25 15:54:34 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-0691


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