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
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-AMZN2-ONIGURUMA-1677772
  • published27 Sept 2021
  • disclosed21 Nov 2019

Introduced: 21 Nov 2019

CVE-2019-19204  (opens in a new tab)
CWE-125  (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 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