{"schemaVersion":3,"id":"CVE-2021-46142","aliases":["UBUNTU-CVE-2021-46142","DEBIAN-CVE-2021-46142"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in uriparser before 0.9.6. It performs invalid free operations in uriNormalizeSyntax.","dates":{"published":"2022-01-06T03:48:36.000Z","modified":"2024-08-04T05:02:10.368Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0109,"percentile":0.64858,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.00499999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01095},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0109,"percentile":0.64858}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01095,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0109,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0109,"percentile":0.64858}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_URIPARSER_URIPARSER","name":"Uriparser","source":"github","url":"https://github.com/uriparser/uriparser/issues/121","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"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.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"debian","product":"uriparser","name":"uriparser","label":"uriparser","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/uriparser","purlType":"deb","versions":[{"text":"< 0.9.6+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"uriparser","name":"uriparser","label":"uriparser","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/uriparser","purlType":"deb","versions":[{"text":"< 0.7.5-1ubuntu2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.8.4-1ubuntu0.16.04.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.8.4-1+deb9u2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.3-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.5-1ubuntu2+esm3 | < 0.8.4-1ubuntu0.16.04.1~esm3 | < 0.8.4-1+deb9u2ubuntu0.1 | < 0.9.3-2ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0 | 11.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","name":"extra packages for enterprise linux","label":"extra_packages_for_enterprise_linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":null,"hubHref":"/vendor/fedoraproject/extra_packages_for_enterprise_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"backports","name":"backports","label":"backports","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"sle-15","noFixRecorded":false,"fixedIn":null}],"versionsText":"sle-15","eol":null,"hubHref":"/vendor/opensuse/backports"},{"vendor":"opensuse","product":"factory","name":"factory","label":"factory","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/opensuse/factory"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.3","eol":{"isEol":true,"eolDate":"2022-12-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.3","label":"Leap 15.3","eolFrom":"2022-12-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"uriparser_project","product":"uriparser","name":"uriparser","label":"uriparser","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.9.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.6","eol":null,"hubHref":"/vendor/uriparser_project/uriparser"}],"affectedCount":9,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://github.com/uriparser/uriparser/pull/124","label":"github.com/uriparser/uriparser/pull/124","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/uriparser/uriparser/issues/122","label":"github.com/uriparser/uriparser/issues/122","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/","label":"blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/","hostname":"blog.hartwork.org","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2022/dsa-5063","label":"www.debian.org/security/2022/dsa-5063","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-46142","label":"ubuntu.com/security/CVE-2021-46142","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5256-1","label":"ubuntu.com/security/notices/USN-5256-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5256-2","label":"ubuntu.com/security/notices/USN-5256-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-46142","label":"www.cve.org/CVERecord?id=CVE-2021-46142","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-46142","label":"security-tracker.debian.org/tracker/CVE-2021-46142","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2883-1","DSA-5063-1","OPENSUSE-SU-2024:11727-1","USN-5256-1","USN-5256-2"],"duplicates":[],"related":["OPENSUSE-SU-2024:11727-1","USN-5256-1","USN-5256-2"]},"timeline":[{"kind":"published","date":"2022-01-06T03:48:36.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T05:02:10.368Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:28:14.675Z","stale":false,"partial":false}}