Out-of-bounds Write Affecting uriparser/uriparser package, versions [,0.9.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.37% (84th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-URIPARSERURIPARSER-2366287
  • published26 Jan 2022
  • disclosed12 Nov 2018
  • creditUnknown

Introduced: 12 Nov 2018

CVE-2018-19198  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade uriparser/uriparser to version 0.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An issue was discovered in uriparser before 0.9.0. UriQuery.c allows an out-of-bounds write via a uriComposeQuery* or uriComposeQueryEx* function because the '&' character is mishandled in certain contexts.

CVSS Base Scores

version 3.1