Out-of-bounds Read Affecting libonig package, versions <6.1.3-2+deb9u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.05% (90th 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-DEBIAN9-LIBONIG-535367
  • published22 Nov 2019
  • disclosed21 Nov 2019

Introduced: 21 Nov 2019

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

How to fix?

Upgrade Debian:9 libonig to version 6.1.3-2+deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libonig package and not the libonig package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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 Base Scores

version 3.1