Out-of-bounds read in uriparser - CVE-2018-20721

 

Out-of-bounds read in uriparser - CVE-2018-20721

Published: January 22, 2019


Vulnerability identifier: #VU17119
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-20721
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to cause DoS condition.

The vulnerability exists in URI_FUNC() in UriParse.c in uriparser due to a boundary condition. A remote attacker can create a specially crafted Excel file, trick the victim into opening it, trigger out-of-bounds read error for an incomplete URI with an IPv6 address containing an embedded IPv4 address, such as a "//[::44.1" address and cause the service to crash.


Affected software

uriparser
Opensuse
Ubuntu
liburiparser1 (Ubuntu package)

How to mitigate CVE-2018-20721

Update to version 0.9.1.

uriparser - update to 0.9.1
liburiparser1 (Ubuntu package) - update to 0.8.4-1+deb9u2build0.18.04.1

External References

Related Security Bulletins