Original 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.
Affected software
- PHP ≥ 7.1.0 < 7.1.32≥ 7.3.0 < 7.3.9≥ 7.2.0 < 7.2.23 Fixed in: 7.1.32, 7.3.9, 7.2.23 exact match
Details
- Published
- 2019-07-10
- Last modified
- 2024-08-05
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- EPSS (30-day exploit probability)
- 4.05% (percentile 91)
References
- cve.org/CVE-2019-13224
- nvd.nist.gov/vuln/detail/CVE-2019-13224
- github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
- lists.debian.org/debian-lts-announce/2019/07/msg00013.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J...
- usn.ubuntu.com/4088-1/
- support.f5.com/csp/article/K00103182
- support.f5.com/csp/article/K00103182?utm_source=f5support&%3Butm_medium=RSS
- security.gentoo.org/glsa/201911-03
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.