Use After Free Affecting kkos/oniguruma package, versions [,6.9.3)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.63% (80th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-KKOSONIGURUMA-2366409
  • published26 Jan 2022
  • disclosed10 Jul 2019
  • creditUnknown

Introduced: 10 Jul 2019

CVE-2019-13224  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade kkos/oniguruma to version 6.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the function onig_new_deluxe() in regext.c. Exploiting this vulnerability is possible when the attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe().

CVSS Scores

version 3.1