Skip to content
OpenAdvisories
Unscored CVE-2019-13224 EUVD-2019-4737GHSA-p5x5-jvwg-8vjr

A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial o…

Published Jul 10, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libonig 6.9.2-1 —
Debian 13 libonig 6.9.2-1 —
Debian 12 libonig 6.9.2-1 —
Debian 10 php7.3 7.3.9-1~deb10u1 DSA-4527-1
Debian 9 libonig 6.1.3-2+deb9u1 DLA-2431-1
Debian 9 php7.0 7.0.33-0+deb9u5 DSA-4529-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 libonig 5.9.5-3.2+deb8u2 DLA-1854-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 groonga No fix yet —
Ubuntu 26.04 LTS groonga No fix yet —
Ubuntu 25.10 groonga No fix yet —
Ubuntu 24.04 LTS groonga No fix yet —
Ubuntu 22.04 LTS groonga No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libonig 6.9.2-1 —
Ubuntu 20.04 LTS mudlet +1 No fix yet —
Ubuntu 18.04 LTS mudlet +1 No fix yet —
Ubuntu 16.04 LTS mudlet +2 No fix yet —
Ubuntu Pro 18.04 LTS libonig 6.7.0-1ubuntu0.1~esm1 —
Ubuntu Pro 16.04 LTS libonig 5.9.6-1ubuntu0.1+esm1 —
Ubuntu Pro 14.04 LTS libonig 5.9.1-1ubuntu1.1+esm1 —
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm4 USN-4088-1
ReleasePackageFixed inAdvisory
RHEL 8 apcu-panel +2 5.1.17-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 libzip +2 1.5.2-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 oniguruma +1 6.8.2-2.1.el8_9 RHSA-2024:0889
RHEL 8 php +25 7.3.20-1.module+el8.2.0+7373+b272fdef RHSA-2020:3662
RHEL 8 php-pear 1:1.10.9-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
RHEL 8 php-pecl-rrd 2.0.1-1.module+el8.2.0+4968+1d5097db RHSA-2020:3662
RHEL 8 php-pecl-xdebug 2.8.0-1.module+el8.2.0+4968+1d5097db RHSA-2020:3662
RHEL 8 php-pecl-zip 1.15.4-1.module+el8.1.0+3189+a1bff096 RHSA-2020:3662
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.8 EUS oniguruma +1 6.8.2-2.1.el8_8 RHSA-2024:0572
RHEL 8.6 EUS oniguruma +1 6.8.2-2.1.el8_6 RHSA-2024:0409

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apcu-panel +2 5.1.17-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 libzip +2 1.5.2-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 oniguruma +1 6.8.2-2.1.el8_9 ALSA-2024:0889
AlmaLinux 8 php +25 7.3.20-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pear 1:1.10.9-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-rrd 2.0.1-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-xdebug 2.8.0-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662
AlmaLinux 8 php-pecl-zip 1.15.4-1.module_el8.3.0+2009+b272fdef ALSA-2020:3662

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libzip 1.5.2-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php 7.3.20-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pear 1:1.10.9-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-apcu 5.1.17-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-rrd 2.0.1-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-xdebug 2.8.0-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
Rocky Linux 8 php-pecl-zip 1.15.4-1.module+el8.4.0+414+2e7afcdd RLSA-2020:3662
ReleasePackageFixed inAdvisory
SLES 15 SP4 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLES 15 SP3 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLES 15 SP2 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLES 15 SP1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP2 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLES for SAP 15 SP1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLE Micro 5.2 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLE Micro 5.1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLE HPC 15 SP2 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SLE HPC 15 SP1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SUSE Manager Server 4.1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SUSE Manager Retail Branch Server 4.1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SUSE Manager Proxy 4.1 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SUSE Enterprise Storage 7 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
SUSE Enterprise Storage 6 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed oniguruma 6.9.7.1-1.2 openSUSE-SU-2024:11111-1
openSUSE Leap 15.4 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
openSUSE Leap 15.3 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 oniguruma 6.7.0-150000.3.3.1 SUSE-SU-2022:3327-1
ReleasePackageFixed inAdvisory
Alpine v3.15 php7 7.3.9-r0 —
Alpine v3.14 php7 7.3.9-r0 —
Alpine v3.13 php7 7.3.9-r0 —
Alpine v3.12 php7 7.3.9-r0 —
Alpine v3.11 php7 7.3.9-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.10 php7 7.3.9-r0 —
Alpine v3.7 php7 7.1.32-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 oniguruma +1 5.9.6-1.amzn2.0.1 ALAS2-2019-1288

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apcu-panel +2 5.1.17-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 libzip +2 1.5.2-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 oniguruma +1 6.8.2-2.1.el8_9 ELSA-2024-0889
Oracle Linux 8 php +25 7.3.20-1.module+el8.2.0+7784+4033621d ELSA-2020-3662
Oracle Linux 8 php-pear 1:1.10.9-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-rrd 2.0.1-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-xdebug 2.8.0-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 8 php-pecl-zip 1.15.4-1.module+el8.2.0+5569+98c8b30d ELSA-2020-3662
Oracle Linux 7 OVMF +1 1:1.3.2-1.el7 ELSA-2020-5861

Advisories 20

References