CVE-2019-13224

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
10/07/2019
Last modified:
07/11/2023

Description

A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onig_new_deluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:oniguruma_project:oniguruma:6.9.2:-:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.1.0 (including) 7.1.32 (excluding)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.2.0 (including) 7.2.23 (excluding)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 7.3.0 (including) 7.3.9 (excluding)
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*