SecurityContext

CVE-2021-46142: uriparser - Use After Free

  • Cve: CVE-2021-46142
  • Name: uriparser - Use After Free
  • Description: An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.
  • Impact: Attackers can cause denial of service or execute arbitrary code through memory corruption.
  • Remediation: Update to version 0.9.6 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.01172
  • Epss percentile: 0.68265
  • Assignee: [email protected]
  • Published at: 2022-01-06T04:15:06Z
  • Age in days: 1783
  • Modified at: 2026-06-17T04:14:34Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 6
  • Products total: 7
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-46142
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://github.com/uriparser/uriparser/issues/122nvd2022-01-06
https://github.com/uriparser/uriparser/pull/124nvd2022-01-06

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/uriparser/uriparser/issues/122Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/uriparser/uriparser/pull/124Exploit, Patch, Third Party Advisory
https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/Third Party Advisory
https://www.debian.org/security/2022/dsa-5063Third Party Advisory
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/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
uriparser_project:uriparser< 0.9.6/v1/products/uriparser_project/uriparser
debian:debian_linux= 11.0, = 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 35, = 34/v1/products/fedoraproject/fedora
opensuse:leap= 15.3/v1/products/opensuse/leap
opensuse:backports= sle-15/v1/products/opensuse/backports
fedoraproject:extra_packages_for_enterprise_linux= 8.0/v1/products/fedoraproject/extra_packages_for_enterprise_linux
opensuse:factoryall versions/v1/products/opensuse/factory

Projects

RepositoryLink kindsIndexedUrl
uriparser/uriparserissues, pullyes/v1/repositories/uriparser/uriparser

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-01-06
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports