PT-2019-5049 · Oniguruma+8 · Oniguruma+8
Kkos
·
Published
2019-06-27
·
Updated
2024-06-15
·
CVE-2019-13224
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Oniguruma version 6.9.2
Description
A use-after-free issue in the
onig new deluxe() function in regext.c 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(). This issue may affect Ruby, as well as common optional libraries for PHP and Rust.Recommendations
For Oniguruma version 6.9.2, consider updating to a newer version to mitigate the risk, however, at the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider restricting the use of the
onig new deluxe() function until a patch is available. Avoid using multi-byte encoding in regex patterns and strings handled by onig new deluxe() until the issue is resolved.Exploit
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Oniguruma
Red Hat
Rocky Linux
Suse
Ubuntu