CVE-2019-13224

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOniguruma
PublishedJul 10, 2019
First seenJul 10, 2019

How to fix

Affected products

ProductAffected versionsFixed in
oniguruma_project oniguruma6.9.2—
php php7.1.0 ≤ v < 7.1.32, 7.2.0 ≤ v < 7.2.23, 7.3.0 ≤ v < 7.3.97.1.32, 7.2.23, 7.3.9
fedoraproject fedora29, 30—
debian debian_linux8.0—
canonical ubuntu_linux12.04, 14.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.