CWE
639 918
Advisory Published
Advisory Published
Updated

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

First published: Sun Feb 20 2022(Updated: )

An authorization bypass flaw was found in url-parse. While submitting a URL, a local unauthenticated attacker can add a trailing colon (:), but omit the port number. This issue enables an open redirect that allows the exposure of sensitive information or spamming of infrastructure outside the vulnerable server.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
npm/url-parse<1.5.8
1.5.8
redhat/url-parse<1.5.8
1.5.8
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query with Cloud Pak for Data<=2.2
IBM Watson Query with Cloud Pak for Data<=2.1
IBM Watson Query with 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
url-parse<1.5.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-0686?

    CVE-2022-0686 is an authorization bypass vulnerability in url-parse prior to version 1.5.8.

  • What is the severity of CVE-2022-0686?

    CVE-2022-0686 has a severity rating of 9.1 (Critical).

  • How can an attacker exploit CVE-2022-0686?

    An attacker can exploit CVE-2022-0686 by adding a trailing colon (:) without the port number while submitting a URL, which enables an open redirect that can expose sensitive information or spam infrastructure.

  • What is the remedy for CVE-2022-0686?

    The remedy for CVE-2022-0686 is to update url-parse to version 1.5.8 or higher.

  • Where can I find more information about CVE-2022-0686?

    You can find more information about CVE-2022-0686 at the following references: [Reference 1](https://huntr.dev/bounties/55fd06cd-9054-4d80-83be-eb5a454be78c), [Reference 2](https://github.com/unshiftio/url-parse/commit/d5c64791ef496ca5459ae7f2176a31ea53b127e5), [Reference 3](https://github.com/RedHatInsights/ocp-advisor-frontend/blob/prod-stable/package-lock.json).

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203