CVE-2022-0512 json
Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
published 2022-02-14 4 y ago modified 2026-06-17 4 mo ago also GHSA-rqff-837h-mm52 , EUVD-2022-1181
- cvss
- 8.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.
Patch / fix
- npm url-parse 1.5.6
- unshiftio unshiftio/url-parse 1.5.6
- node-url-parse Debian 14, Debian 13, Debian 12 1.5.7-1
debian advisories DEBIAN-CVE-2022-0512
- node-url-parse Ubuntu 18.04 LTS 1.2.0-1ubuntu0.1
- node-url-parse Ubuntu 20.04 LTS 1.4.7-3ubuntu0.1
- node-url-parse Ubuntu Pro 16.04 LTS 1.0.5-2ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2022-0512
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-0512 updated cvss 8.8
nodejs-url-parse: authorization bypass through user-controlled key
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix available
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-migration-ui-rhel8 v1.7.4-12fixed: vendor fix RHSA-2022:6429
-
Red Hat Migration Toolkit 1.7 rhmtc/openshift-velero-plugin-rhel8 v1.7.4-6, rhmtc/openshift-migration-velero-rhel8 v1.7.4-6, rhmtc/openshift-migration-openvpn-rhel8 v1.7.4-7, rhmtc/openshift-migration-registry-rhel8 v1.7.4-7, rhmtc/openshift-migration-rhel8-operator v1.7.4-15, rhmtc/openshift-migration-controller-rhel8 v1.7.4-7, +10 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.78% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | url-parse | >=0.1.0, <1.5.6 |
1.5.6 |
Affected products
- unshiftio unshiftio/url-parse
Classification
- Weakness
-
- CWE-639 Authorization Bypass Through User-Controlled Key
References
-
github.com
/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40
web, patch, third-party-advisory
-
huntr.dev
/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b
web, exploit, patch, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/02/msg00030.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-0512
advisory
-
github.com
/unshiftio/url-parse
package
Sources
- CVE List CVE-2022-0512
- GitHub Advisory GHSA-rqff-837h-mm52
- NVD CVE-2022-0512
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.