CVE Vulnerabilities

CVE-2019-13224

Use After Free

Published: Jul 10, 2019 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H
Ubuntu
MEDIUM

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

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Oniguruma Oniguruma_project 6.9.2 (including) 6.9.2 (including)
Red Hat Enterprise Linux 8 RedHat php:7.3-8020020200715124551.ceb1cf90 *
Red Hat Enterprise Linux 8 RedHat oniguruma-0:6.8.2-2.1.el8_9 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat oniguruma-0:6.8.2-2.1.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat oniguruma-0:6.8.2-2.1.el8_8 *
Groonga Ubuntu bionic *
Groonga Ubuntu cosmic *
Groonga Ubuntu devel *
Groonga Ubuntu disco *
Groonga Ubuntu eoan *
Groonga Ubuntu esm-apps/bionic *
Groonga Ubuntu esm-apps/focal *
Groonga Ubuntu esm-apps/jammy *
Groonga Ubuntu esm-apps/noble *
Groonga Ubuntu esm-apps/xenial *
Groonga Ubuntu focal *
Groonga Ubuntu groovy *
Groonga Ubuntu hirsute *
Groonga Ubuntu impish *
Groonga Ubuntu jammy *
Groonga Ubuntu kinetic *
Groonga Ubuntu lunar *
Groonga Ubuntu mantic *
Groonga Ubuntu noble *
Groonga Ubuntu oracular *
Groonga Ubuntu plucky *
Groonga Ubuntu trusty *
Groonga Ubuntu xenial *
Libevhtp Ubuntu esm-apps/xenial *
Libevhtp Ubuntu trusty *
Libevhtp Ubuntu xenial *
Libonig Ubuntu bionic *
Libonig Ubuntu cosmic *
Libonig Ubuntu devel *
Libonig Ubuntu disco *
Libonig Ubuntu eoan *
Libonig Ubuntu esm-apps/bionic *
Libonig Ubuntu esm-apps/xenial *
Libonig Ubuntu esm-infra-legacy/trusty *
Libonig Ubuntu esm-infra/focal *
Libonig Ubuntu focal *
Libonig Ubuntu groovy *
Libonig Ubuntu hirsute *
Libonig Ubuntu impish *
Libonig Ubuntu jammy *
Libonig Ubuntu kinetic *
Libonig Ubuntu lunar *
Libonig Ubuntu mantic *
Libonig Ubuntu noble *
Libonig Ubuntu oracular *
Libonig Ubuntu plucky *
Libonig Ubuntu trusty *
Libonig Ubuntu trusty/esm *
Libonig Ubuntu xenial *
Mudlet Ubuntu bionic *
Mudlet Ubuntu cosmic *
Mudlet Ubuntu disco *
Mudlet Ubuntu eoan *
Mudlet Ubuntu esm-apps/bionic *
Mudlet Ubuntu esm-apps/focal *
Mudlet Ubuntu esm-apps/xenial *
Mudlet Ubuntu focal *
Mudlet Ubuntu trusty *
Mudlet Ubuntu xenial *
Php5 Ubuntu esm-infra-legacy/trusty *
Php5 Ubuntu trusty/esm *

Potential Mitigations

References