First published: Thu Jun 27 2019(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Oniguruma Project Oniguruma | =6.9.2 | |
PHP PHP | >=7.1.0<7.1.32 | |
PHP PHP | >=7.2.0<7.2.23 | |
PHP PHP | >=7.3.0<7.3.9 | |
Fedoraproject Fedora | =29 | |
Fedoraproject Fedora | =30 | |
Debian Debian Linux | =8.0 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
PHP PHP | <7.1.32 | 7.1.32 |
IBM IBM® Db2® on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data | <=v3.5 through refresh 10v4.0 through refresh 9v4.5 through refresh 3v4.6 through refresh 6v4.7 through refresh 4v4.8 through refresh 4 | |
debian/libonig | 6.9.6-1.1 6.9.8-1 6.9.9-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID for this issue is CVE-2019-13224.
The severity of CVE-2019-13224 is medium with a CVSS score of 6.8.
The affected software is PHP version up to exclusive 7.1.32.
The impact of CVE-2019-13224 can include information disclosure, denial of service, or possibly code execution.
To fix CVE-2019-13224, update to PHP version 7.1.32 or later.