Vulnerabilities / CVE-2018-20721

critical

CVE-2018-20721

uriparser: Out-of-bounds read in uriParse*Ex*

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium), Red Hat (low).

Description

URI_FUNC() in UriParse.c in uriparser before 0.9.1 has an out-of-bounds read (in uriParse*Ex* functions) for an incomplete URI with an IPv6 address containing an embedded IPv4 address, such as a "//[::44.1" address.

Affected packages and fixed versions

SourcePackageFixed in
debian 11uriparser0.9.1-1
debian 12uriparser0.9.1-1
debian 13uriparser0.9.1-1
debian 14uriparser0.9.1-1
debian 8uriparser0.8.0.1-2+deb8u2
debian 9uriparser0.8.4-1+deb9u2
echouriparser0.9.1-1
Red Haturiparser, uriparser-develno fix listed
root.io debian 12rootio-uriparser0.9.1-1
ubuntu 14.04-ESMuriparser0.7.5-1ubuntu2+esm2
ubuntu 16.04-ESMuriparser0.8.4-1ubuntu0.16.04.1~esm2
ubuntu 18.04uriparser0.8.4-1+deb9u2build0.18.04.1
Show all 14 entries from 13 sources
SourcePackageFixed in
debian 11uriparser0.9.1-1
debian 12uriparser0.9.1-1
debian 13uriparser0.9.1-1
debian 14uriparser0.9.1-1
debian 8uriparser0.8.0.1-2+deb8u2
debian 9uriparser0.8.4-1+deb9u2
echouriparser0.9.1-1
Red Haturiparserno fix listed
Red Haturiparser-develno fix listed
root.io debian 12rootio-uriparser0.9.1-1
ubuntu 14.04-ESMuriparser0.7.5-1ubuntu2+esm2
ubuntu 16.04-ESMuriparser0.8.4-1ubuntu0.16.04.1~esm2
ubuntu 18.04uriparser0.8.4-1+deb9u2build0.18.04.1
ubuntu 18.04-ESMuriparser0.8.4-1+deb9u2build0.18.04.1

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.