Multiple vulnerabilities in uriparser library



Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-46142
CVE-2021-46141
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
uriparser
Universal components / Libraries / Libraries used by multiple products

Vendor uriparser

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU60086

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-46142

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a use-after-free error when parsing URI in uriNormalizeSyntax in uriparser. A remote attacker can trick the victim to open a specially crafted URI, trigger a use-after-free error and crash the application that us using the affected library.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

uriparser: 0.9.0 - 0.9.5

CPE2.3 External links

https://github.com/uriparser/uriparser/issues/122
https://github.com/uriparser/uriparser/pull/124
https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
https://www.debian.org/security/2022/dsa-5063


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Use-after-free

EUVDB-ID: #VU60085

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-46141

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a use-after-free error when parsing URI in uriFreeUriMembers and uriMakeOwner in uriparser. A remote attacker can trick the victim to open a specially crafted URI, trigger a use-after-free error and crash the application that us using the affected library.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

uriparser: 0.9.0 - 0.9.5

CPE2.3 External links

https://github.com/uriparser/uriparser/issues/121
https://github.com/uriparser/uriparser/pull/124
https://blog.hartwork.org/posts/uriparser-096-with-security-fixes-released/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MO6T7WA27H7K3WI2AXUAGPWBGK4HM65D/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YGIJTDNEMU2V4H3JJBQVKBRHU5GBQKG2/
https://lists.debian.org/debian-lts-announce/2022/01/msg00029.html
https://www.debian.org/security/2022/dsa-5063


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###