CVE-2022-0512: Authorization Bypass Through User-Controlled Key in unshiftio/url-parse

Published Jan 7, 2022
·
Updated

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.

Other sources

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.

unshift.io url-parse module for NPM could allow a remote attacker to bypass security restrictions, caused by improperly handeling username and password. By sending a specially-crafted request, an attacker could exploit this vulnerability to bypass hostname validation.

— IBM

Affected Software

11 affected componentsFixes available
Url-parse Project Url-parse Node.js<1.5.6
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
debian/node-url-parse<1.5.7-1
1.5.7-1
debian/node-url-parse<1.5.7-1
1.5.7-1
debian/node-url-parse<1.5.7-1
1.5.7-1
debian/node-url-parse
1.5.10+~1.4.8-21.5.10+~1.4.8-31.5.10+~1.4.11-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/node-url-parse to a version that resolves this vulnerability.

    Fixed in 1.5.10+~1.4.8-2Fixed in 1.5.10+~1.4.8-3Fixed in 1.5.10+~1.4.11-1
  2. Upgrade

    Upgrade debian/node-url-parse to a version that resolves this vulnerability.

    Fixed in 1.5.7-1
  3. Upgrade

    Upgrade npm/url-parse to a version that resolves this vulnerability.

    Fixed in 1.5.6

Event History

Jan 7, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 14, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Feb 15, 2022
Data Sourced
via Red Hat·12:52 PM
DescriptionSeverityAffected Software
Apr 3, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-0512?

CVE-2022-0512 is an authorization bypass vulnerability found in nodes-url-parse.

2

How does CVE-2022-0512 work?

CVE-2022-0512 allows a remote attacker with a basic user account to bypass hostname verification by inserting the at symbol "@" at the end of the password field.

3

What is the severity of CVE-2022-0512?

CVE-2022-0512 has a severity value of 8.8, which is classified as high.

4

How can I fix CVE-2022-0512?

To fix CVE-2022-0512, users should update url-parse to version 1.5.6 or higher.

5

Where can I find more information about CVE-2022-0512?

You can find more information about CVE-2022-0512 in the references provided: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203