Use-after-free in uriparser - CVE-2021-46141

 

Use-after-free in uriparser - CVE-2021-46141

Published: January 27, 2022


Vulnerability identifier: #VU60085
CSH Severity: Medium
CVSS v4.0: 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
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: uriparser
Affected software:
uriparser

Detailed vulnerability 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.


How to mitigate CVE-2021-46141

Install updates from vendor's website.

Sources