Bug 2054663 (CVE-2022-0512) - CVE-2022-0512 nodejs-url-parse: authorization bypass through user-controlled key
Summary: CVE-2022-0512 nodejs-url-parse: authorization bypass through user-controlled key
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-0512
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: 2054768 2055585 2110597 2110598 2110855
Blocks: 2054664
TreeView+ depends on / blocked
 
Reported: 2022-02-15 12:52 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-11-25 14:32 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An authorization bypass vulnerability was found in nodes-url-parse. This flaw allows a remote attacker with a basic user account to evade hostname verification by inserting the at symbol "@" at the end of the password field. This issue can allow entry to systems designed to block remote access and may not have additional defenses.
Clone Of:
Environment:
Last Closed: 2022-11-25 14:32:10 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:23 UTC

Description Guilherme de Almeida Suckevicz 2022-02-15 12:52:26 UTC
Authorization bypass through user-controlled key in NPM url-parse prior to 1.5.6.

Reference:
https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b

Upstream patch:
https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40

Comment 1 juneau 2022-02-15 16:41:52 UTC
marking services affected/fix

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
quay-io-3/quayio/quay:09e783d/url-parse-1.4.0 https://github.com/quay/quay/blob/quayio/package-lock.json
quay-io-3/quayio/quay:09e783d/url-parse-1.4.0 https://github.com/quay/quay/blob/quayio/yarn.lock
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-assisted-installer/facet:b119ef2/url-parse-1.5.3 https://github.com/openshift-assisted/assisted-ui/blob/master/yarn.lock
services-assisted-installer/ui:33db575/url-parse-1.5.3 https://github.com/openshift-assisted/assisted-ui-lib/blob/master/yarn.lock
services-drift/drift/drift-frontend:d87d582/url-parse-1.5.3 https://github.com/RedHatInsights/drift-frontend/blob/master/package-lock.json
services-rhcert/rhcert-spa:ae8c43b/url-parse-1.5.3 https://gitlab.cee.redhat.com/certification/rhcert-spa/blob/master/package-lock.json
services-rhcert/rhcert-spa:ae8c43b/url-parse-1.5.3 https://gitlab.cee.redhat.com/certification/rhcert-spa/blob/master/yarn.lock

Comment 10 errata-xmlrpc 2022-09-13 00:58:20 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 11 Product Security DevOps Team 2022-11-25 14:32:07 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-0512


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