Bug 2057442 (CVE-2022-0639) - CVE-2022-0639 npm-url-parse: Authorization Bypass Through User-Controlled Key
Summary: CVE-2022-0639 npm-url-parse: Authorization Bypass Through User-Controlled Key
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0639
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: 2060935 2060936 2110609 2110610 2110856
Blocks: 2057443
TreeView+ depends on / blocked
 
Reported: 2022-02-23 12:05 UTC by Pedro Sampaio
Modified: 2023-09-01 03:02 UTC (History)
24 users (show)

Fixed In Version:
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 an at symbol (@) while submitting a URL. This issue enables the bypass of validation or block-listing restrictions.
Clone Of:
Environment:
Last Closed: 2022-11-25 14:55:07 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:31 UTC

Description Pedro Sampaio 2022-02-23 12:05:35 UTC
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.

https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788
https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155

Comment 4 juneau 2022-03-04 15:54:41 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 8 errata-xmlrpc 2022-09-13 00:58:28 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 9 Product Security DevOps Team 2022-11-25 14:55:04 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-0639


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