Name | CVE-2019-13224 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1854-1, DLA-2431-1, DSA-4527-1, DSA-4529-1, ELA-143-1 |
Debian Bugs | 931878 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libonig (PTS) | jessie, jessie (lts) | 5.9.5-3.2+deb8u6 | fixed |
stretch (security), stretch (lts), stretch | 6.1.3-2+deb9u2 | fixed | |
buster | 6.9.1-1 | vulnerable | |
bullseye | 6.9.6-1.1 | fixed | |
bookworm | 6.9.8-1 | fixed | |
sid, trixie | 6.9.9-1 | fixed | |
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
php7.0 (PTS) | stretch (security) | 7.0.33-0+deb9u12 | fixed |
stretch (lts), stretch | 7.0.33-0+deb9u19 | fixed | |
php7.3 (PTS) | buster, buster (lts) | 7.3.31-1~deb10u8 | fixed |
buster (security) | 7.3.31-1~deb10u7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libonig | source | wheezy | 5.9.1-1+deb7u2 | ELA-143-1 | ||
libonig | source | jessie | 5.9.5-3.2+deb8u2 | DLA-1854-1 | ||
libonig | source | stretch | 6.1.3-2+deb9u1 | DLA-2431-1 | ||
libonig | source | (unstable) | 6.9.2-1 | low | 931878 | |
php5 | source | (unstable) | (not affected) | |||
php7.0 | source | stretch | 7.0.33-0+deb9u5 | DSA-4529-1 | ||
php7.0 | source | (unstable) | (unfixed) | |||
php7.3 | source | buster | 7.3.9-1~deb10u1 | DSA-4527-1 |
[buster] - libonig <no-dsa> (Minor issue)
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
- php5 <not-affected> (system libonig is used in this Debian version)