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
1.14% (85th 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-2366412
  • published26 Jan 2022
  • disclosed21 Nov 2019
  • creditUnknown

Introduced: 21 Nov 2019

CVE-2019-19203  (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 gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.

CVSS Scores

version 3.1