CVE-2019-13224 Use after free in n/a
Attackers can trigger a use-after-free in the Oniguruma regex library via crafted patterns, potentially leading to code execution, denial of service, or information disclosure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-13224?
CVE-2019-13224 is a critical use after free vulnerability in Canonical Ubuntu Linux, published on 10 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2019-13224?
It affects 5 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Oniguruma Project Oniguruma, Php Php.
How do I fix CVE-2019-13224?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2019-13224 being exploited?
There is no known exploitation of CVE-2019-13224 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-13224, DLA-1854-1, GHSA-p5x5-jvwg-8vjr, UBUNTU-CVE-2019-13224, USN-4088-1.