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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1854-1
NVD severityhigh (attack range: remote)
Debian Bugs931878

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libonig (PTS)jessie5.9.5-3.2+deb8u1vulnerable
jessie (security)5.9.5-3.2+deb8u3fixed
stretch6.1.3-2vulnerable
buster6.9.1-1vulnerable
bullseye, sid6.9.2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libonigsource(unstable)6.9.2-1low931878
libonigsourcejessie5.9.5-3.2+deb8u2highDLA-1854-1

Notes

[buster] - libonig <no-dsa> (Minor issue)
[stretch] - libonig <no-dsa> (Minor issue)
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55

Search for package or bug name: Reporting problems