Out-of-bounds Read Affecting uriparser/uriparser package, versions [,0.9.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-URIPARSERURIPARSER-2366289
  • published26 Jan 2022
  • disclosed16 Jan 2019
  • creditUnknown

Introduced: 16 Jan 2019

CVE-2018-20721  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade uriparser/uriparser to version 0.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. URI_FUNC() in UriParse.c in uriparser before 0.9.1 has an out-of-bounds read (in uriParseEx functions) for an incomplete URI with an IPv6 address containing an embedded IPv4 address, such as a "//[::44.1" address.

CVSS Scores

version 3.1