Out-of-bounds Read Affecting kkos/oniguruma package, versions [6.0.0,6.9.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.87% (83rd 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-KKOSONIGURUMA-2366415
  • published26 Jan 2022
  • disclosed21 Nov 2019
  • creditUnknown

Introduced: 21 Nov 2019

CVE-2019-19204  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade kkos/oniguruma to version 6.9.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function fetch_interval_quantifier (formerly known as fetch_range_quantifier) in regparse.c, PFETCH is called without checking PEND. This leads to a heap-based buffer over-read.

CVSS Scores

version 3.1