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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-13219A NULL pointer dereference in the get_window function in stb…5.5
- CVE-2019-1322An elevation of privilege vulnerability exists when Windows …7.8
- CVE-2019-13220Use of uninitialized stack variables in the start_decoder fu…7.1
- CVE-2019-13221A stack buffer overflow in the compute_codewords function in…7.8
- CVE-2019-13222An out-of-bounds read of a global buffer in the draw_line fu…7.1
- CVE-2019-13223A reachable assertion in the lookup1_values function in stb_…5.5
- CVE-2019-13225A NULL Pointer Dereference in match_at() in regexec.c in Oni…6.5
- CVE-2019-13226deepin-clone before 1.1.3 uses a predictable path /tmp/.deep…7
- CVE-2019-13227In GUI mode, deepin-clone before 1.1.3 creates a log file at…
- CVE-2019-13228deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in…
- CVE-2019-13229deepin-clone before 1.1.3 uses a fixed path /tmp/partclone.l…
- CVE-2019-1323An elevation of privilege vulnerability exists in the Micros…7.8
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
