CVE-2019-13224

CRITICALCVSS 9.8/10EPSS 4.05%

Last modified

CVE-2019-13224 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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(). EPSS estimates a 4.05% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
4.05%

89.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Oniguruma ProjectOniguruma6.9.2
PhpPhp>= 7.1.0, < 7.1.32
PhpPhp>= 7.2.0, < 7.2.23
PhpPhp>= 7.3.0, < 7.3.9
FedoraprojectFedora29
FedoraprojectFedora30
DebianDebian Linux8.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-13224?
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.
How severe is CVE-2019-13224?
CVE-2019-13224 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 4.05% probability of exploitation in the next 30 days.
How do I fix CVE-2019-13224?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-13224?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST