Vulnerability Details : CVE-2021-46142
An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.
Products affected by CVE-2021-46142
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.3:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:backports:sle-15:*:*:*:*:*:*:*
- cpe:2.3:a:opensuse:factory:-:*:*:*:*:*:*:*
- cpe:2.3:a:uriparser_project:uriparser:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-46142
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 49 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-46142
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-46142
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-46142
-
https://www.debian.org/security/2022/dsa-5063
Debian -- Security Information -- DSA-5063-1 uriparserThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
[SECURITY] Fedora 34 Update: uriparser-0.9.6-1.fc34 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
[SECURITY] Fedora 35 Update: uriparser-0.9.6-1.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://github.com/uriparser/uriparser/pull/124
Fix memory handling of uriNormalizeSyntax*, uriMakeOwner* and uriNormalizeSyntax* (fixes #121, fixes #122) by hartwork · Pull Request #124 · uriparser/uriparser · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/uriparser/uriparser/issues/122
uriNormalizeSyntax* may free stack memory in out-of-memory situation when handling URIs containing empty segments · Issue #122 · uriparser/uriparser · GitHubExploit;Issue Tracking;Patch;Third Party Advisory
-
https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/
Hartwork Blog · uriparser 0.9.6 with security fixes releasedThird Party Advisory
Jump to