CVE-2019-13224
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.
How to fix
- php php7.1.32, 7.2.23, 7.3.9 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNL26OZSQRVLEO6JRNUVIMZTICXBNEQW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWCPDTZOIUKGMFAD5NAKUB7FPJFAIQN5/
- usn.ubuntu.com/4088-1/
- security.gentoo.org/glsa/201911-03
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| oniguruma_project oniguruma | 6.9.2 | — |
| php php | 7.1.0 ≤ v < 7.1.32, 7.2.0 ≤ v < 7.2.23, 7.3.0 ≤ v < 7.3.9 | 7.1.32, 7.2.23, 7.3.9 |
| fedoraproject fedora | 29, 30 | — |
| debian debian_linux | 8.0 | — |
| canonical ubuntu_linux | 12.04, 14.04 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.