Integer overflow in uriparser - CVE-2024-34402

 

Integer overflow in uriparser - CVE-2024-34402

Published: May 6, 2024


Vulnerability identifier: #VU89151
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-34402
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the ComposeQueryEngine() function in UriQuery.c. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

uriparser
Fedora
Ubuntu
openEuler
liburiparser1 (Ubuntu package)
uriparser
uriparser-debuginfo
uriparser-debugsource
uriparser-devel
uriparser-help

How to mitigate CVE-2024-34402

Install updates from vendor's website.

uriparser - update to 0.9.8
liburiparser1 (Ubuntu package) - update to Ubuntu Pro
uriparser - update to 0.9.6-2
uriparser-debuginfo - update to 0.9.6-2
uriparser-debugsource - update to 0.9.6-2
uriparser-devel - update to 0.9.6-2
uriparser-help - update to 0.9.6-2
uriparser - addressed in versions 0.9.8-1.fc38, 0.9.8-1.fc39, 0.9.8-1.fc40, 0.9.8-2.el8, 0.9.8-2.el9, 0.9.8-2.el10_1

External References

Related Security Bulletins