What’s Vulnerable › Vulnerabilities
CVE-2021-46142
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-01-06 · updated 2026-06-17
- Weakness: CWE-416
Description
An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.
Affected products
- Debian Linux: 9.0, 10.0, 11.0
- Fedoraproject Extra Packages For Enterprise Linux: 8.0
- Fedoraproject Fedora: 34, 35
- openSUSE Backports: sle-15
- openSUSE Factory: all versions
- openSUSE Leap: 15.3
- uriparser: before 0.9.6 — fixed in 0.9.6
How to fix
Upgrade to a fixed version: uriparser 0.9.6. Check the vendor advisory for mitigations.
References
- https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/
- https://github.com/uriparser/uriparser/issues/122
- https://github.com/uriparser/uriparser/pull/124
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
- https://www.debian.org/security/2022/dsa-5063
- https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/
- https://github.com/uriparser/uriparser/issues/122
- https://github.com/uriparser/uriparser/pull/124
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
- https://www.debian.org/security/2022/dsa-5063
Get alerted when CVE-2021-46142 or the next vulnerability affects your stack