Out-of-bounds Read Affecting oniguruma package, versions <0:5.9.6-1.amzn2.0.3


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.75% (91st 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-AMZN2-ONIGURUMA-1677674
  • published27 Sept 2021
  • disclosed17 Nov 2019

Introduced: 17 Nov 2019

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

How to fix?

Upgrade Amazon-Linux:2 oniguruma to version 0:5.9.6-1.amzn2.0.3 or higher.
This issue was patched in ALAS2-2020-1380.

NVD Description

Note: Versions mentioned in the description apply only to the upstream oniguruma package and not the oniguruma package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.

CVSS Scores

version 3.1