CVE-2019-13224
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/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00013.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201911-03Third Party Advisory
- https://support.f5.com/csp/article/K00103182Third Party Advisory
- https://usn.ubuntu.com/4088-1/Third Party Advisory
- https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00013.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201911-03Third Party Advisory
- https://support.f5.com/csp/article/K00103182Third Party Advisory
- https://usn.ubuntu.com/4088-1/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-13224?
How severe is CVE-2019-13224?
How do I fix CVE-2019-13224?
Are you affected by CVE-2019-13224?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
