CVE-2021-46142 json
An issue was discovered in uriparser before 0.9.6.
published 2022-01-06 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-32842
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.
Patch / fix
- uriparser_project uriparser 0.9.6
- uriparser Debian 14, Debian 13, Debian 12 0.9.6+dfsg-1
debian advisories DEBIAN-CVE-2021-46142
- uriparser Ubuntu 18.04 LTS 0.8.4-1+deb9u2ubuntu0.1
- uriparser Ubuntu Pro 14.04 LTS 0.7.5-1ubuntu2+esm3
- uriparser Ubuntu Pro 16.04 LTS 0.8.4-1ubuntu0.16.04.1~esm3
- uriparser Ubuntu Pro 20.04 LTS 0.9.3-2ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2021-46142
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
- uriparser openSUSE Tumbleweed 0.9.6-1.1
opensuse advisories openSUSE-SU-2024:11727-1
- uriparser Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.9.6-r0
alpine advisories ALPINE-CVE-2021-46142
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- uriparser Arch Linux 0.9.6-1
arch linux advisories AVG-2794
- github.com/uriparser/uriparser#124 pull request
- github.com/uriparser/uriparser/issues/122 advisory
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-2021-46142 updated cvss 4.0
uriparser: Invalid free operations in uriNormalizeSyntax.
-
Red Hat Enterprise Linux 7 uriparseraffected: no fix planned “Out of support scope”
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.17% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/uriparser/uriparser/pull/124 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/uriparser/uriparser/issues/122 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/uriparser/uriparser/pull/124
exploit, patch, third-party-advisory
-
github.com
/uriparser/uriparser/issues/122
exploit, issue-tracking, patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
vendor-advisory
-
debian.org
/security/2022/dsa-5063
vendor-advisory, third-party-advisory
-
blog.hartwork.org
/posts/uriparser-096-with-security-fixes-released/
third-party-advisory
Sources
- CVE List CVE-2021-46142
- NVD CVE-2021-46142
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.