Bug 1666023 (CVE-2018-20721) - CVE-2018-20721 uriparser: Out-of-bounds read in uriParse*Ex*
Summary: CVE-2018-20721 uriparser: Out-of-bounds read in uriParse*Ex*
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-20721
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1666025 1666026 1667917
Blocks: 1666027
TreeView+ depends on / blocked
 
Reported: 2019-01-14 16:58 UTC by Laura Pardo
Modified: 2021-10-27 03:21 UTC (History)
5 users (show)

Fixed In Version: uriparser 0.9.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-27 03:21:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2019-01-14 16:58:11 UTC
A flaw was found in uriparser before version 0.9.1. An Out-of-bounds read in uriParse*Ex* for incomplete URIs with IPv6 addresses with embedded IPv4 address, e.g. "//[::44.1"; mitigated if passed parameter <afterLast> points to readable memory containing a '\0' byte.


References:
https://github.com/uriparser/uriparser/blob/uriparser-0.9.1/ChangeLog#L9

Upstream Patch:
https://github.com/uriparser/uriparser/commit/cef25028de5ff872c2e1f0a6c562eb3ea9ecbce4

Comment 1 Laura Pardo 2019-01-14 16:58:27 UTC
Created mingw-uriparser tracking bugs for this issue:

Affects: fedora-all [bug 1666026]


Created uriparser tracking bugs for this issue:

Affects: fedora-all [bug 1666025]

Comment 3 Stefan Cornelius 2019-01-21 12:33:43 UTC
Statement:

This issue affects the versions of uriparser as shipped with Red Hat Enterprise Linux 7.


Note You need to log in before you can comment on or make changes to this bug.