CVE-2019-13224

NameCVE-2019-13224
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1854-1, DLA-2431-1, DSA-4527-1, DSA-4529-1, ELA-143-1
Debian Bugs931878

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libonig (PTS)jessie, jessie (lts)5.9.5-3.2+deb8u6fixed
stretch (security), stretch (lts), stretch6.1.3-2+deb9u2fixed
buster6.9.1-1vulnerable
bullseye6.9.6-1.1fixed
bookworm6.9.8-1fixed
sid, trixie6.9.9-1fixed
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed
php7.0 (PTS)stretch (security)7.0.33-0+deb9u12fixed
stretch (lts), stretch7.0.33-0+deb9u19fixed
php7.3 (PTS)buster, buster (lts)7.3.31-1~deb10u8fixed
buster (security)7.3.31-1~deb10u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libonigsourcewheezy5.9.1-1+deb7u2ELA-143-1
libonigsourcejessie5.9.5-3.2+deb8u2DLA-1854-1
libonigsourcestretch6.1.3-2+deb9u1DLA-2431-1
libonigsource(unstable)6.9.2-1low931878
php5source(unstable)(not affected)
php7.0sourcestretch7.0.33-0+deb9u5DSA-4529-1
php7.0source(unstable)(unfixed)
php7.3sourcebuster7.3.9-1~deb10u1DSA-4527-1

Notes

[buster] - libonig <no-dsa> (Minor issue)
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
- php5 <not-affected> (system libonig is used in this Debian version)

Search for package or bug name: Reporting problems