CVE-2019-13224
published 2019-07-10CVE-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…
PriorityP345critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
4.05%
89.4th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | libonig | < libonig 6.9.2-1 (bookworm) | libonig 6.9.2-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| oniguruma_project | oniguruma | — | — |
| php | php | >= 7.1.0 < 7.1.32 | 7.1.32 |
| php | php | >= 7.2.0 < 7.2.23 | 7.2.23 |
| php | php | >= 7.3.0 < 7.3.9 | 7.3.9 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
PHP vulnerability
vendor_ubuntu·2019-08-07
CVE-2019-13224 PHP vulnerability
Title: PHP vulnerability
Summary: PHP could be made to denial of service, expose sensitive information
or execute arbitrary code if it received a specially crafted regular
expression.
It was discovered that PHP incorrectly handled certain regular expressions.
An attacker could possibly use this issue to expose sensitive information,
cause a denial of service or execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
oniguruma: Use-after-free in onig_new_deluxe() in regext.c
vendor_redhat·2019-06-27·CVSS 9.8
CVE-2019-13224 [CRITICAL] CWE-416 oniguruma: Use-after-free in onig_new_deluxe() in regext.c
oniguruma: Use-after-free in onig_new_deluxe() in regext.c
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.
Statement: Ruby versions are not affected as they used Onigmo, which is a fork of Oniguruma, instead. The Onigmo library doesn't includes the source code containing the related bug.
Package: php (Red Hat Enterprise Linux 5) - Out of support scope
Package: php53 (Red Hat Enterprise Linux 5) - Out
Debian
CVE-2019-13224: libonig - A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows atta...
vendor_debian·2019·CVSS 9.8
CVE-2019-13224 [CRITICAL] CVE-2019-13224: libonig - A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows atta...
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.
Scope: local
bookworm: resolved (fixed in 6.9.2-1)
bullseye: resolved (fixed in 6.9.2-1)
forky: resolved (fixed in 6.9.2-1)
sid: resolved (fixed in 6.9.2-1)
trixie: resolved (fixed in 6.9.2-1)
GHSA
GHSA-p5x5-jvwg-8vjr: A use-after-free in onig_new_deluxe() in regext
ghsa_unreviewed·2022-05-24
CVE-2019-13224 [CRITICAL] CWE-416 GHSA-p5x5-jvwg-8vjr: A use-after-free in onig_new_deluxe() in regext
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.
OSV
CVE-2019-13224: A use-after-free in onig_new_deluxe() in regext
osv·2019-07-10·CVSS 9.8
CVE-2019-13224 [CRITICAL] CVE-2019-13224: A use-after-free in onig_new_deluxe() in regext
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [epel-7]
bugzilla·2019-07-11·CVSS 9.8
CVE-2019-13224 [CRITICAL] CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [epel-7]
CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the
Bugzilla
CVE-2019-13224 oniguruma: Use-after-free in onig_new_deluxe() in regext.c
bugzilla·2019-07-11·CVSS 9.8
CVE-2019-13224 [CRITICAL] CVE-2019-13224 oniguruma: Use-after-free in onig_new_deluxe() in regext.c
CVE-2019-13224 oniguruma: Use-after-free in onig_new_deluxe() in regext.c
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.
Reference:
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
Discussion:
Created oniguruma tracking bugs for this issue:
Affects: epel-7 [bug 1728972]
Affects: fedora-all [bug 1728971]
---
(In reply to Dhananjay Arunesh from comment #0)
> A use-af
Bugzilla
CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [fedora-all]
bugzilla·2019-07-11·CVSS 9.8
CVE-2019-13224 [CRITICAL] CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [fedora-all]
CVE-2019-13224 oniguruma: use-after-free in onig_new_deluxe() in regext.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55https://lists.debian.org/debian-lts-announce/2019/07/msg00013.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWCPDTZOIUKGMFAD5NAKUB7FPJFAIQN5/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNL26OZSQRVLEO6JRNUVIMZTICXBNEQW/https://security.gentoo.org/glsa/201911-03https://support.f5.com/csp/article/K00103182https://support.f5.com/csp/article/K00103182?utm_source=f5support&%3Butm_medium=RSShttps://usn.ubuntu.com/4088-1/https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55https://lists.debian.org/debian-lts-announce/2019/07/msg00013.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JWCPDTZOIUKGMFAD5NAKUB7FPJFAIQN5/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNL26OZSQRVLEO6JRNUVIMZTICXBNEQW/https://security.gentoo.org/glsa/201911-03https://support.f5.com/csp/article/K00103182https://support.f5.com/csp/article/K00103182?utm_source=f5support&%3Butm_medium=RSShttps://usn.ubuntu.com/4088-1/
2019-07-10
Published