Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c. Reference: https://github.com/kkos/oniguruma/issues/147 Upstream commit: https://github.com/kkos/oniguruma/commit/4097828d7cc87589864fecf452f2cd46c5f37180
Created oniguruma tracking bugs for this issue: Affects: epel-7 [bug 1768999] Affects: fedora-all [bug 1768998] Affects: openstack-rdo [bug 1769000]
The following containers are packaged with OpenShift 4.x and contain a vulnerable version of oniguruma (5.9.x): - openshift4/ose-metering-hadoop - openshift4/ose-metering-hive - openshift4/ose-metering-presto However, these containers include oniguruma but do not use it. This includes faq and jq which may use oniguruma, and are included within the containers but likewise, are unused.
There's an issue on Oniguruma library when compiling regular expressions to binary code. During compilation phase it tries to optimize the expression by calling the function optimize_nodes(), this function is recursive however the recursion is not controlled. An attack may leverage this issue by crafting a regular expression which trigger many recursion levels or an infinite recursion of optimize_nodes() leading to a stack overflow resulting in stack corruption and DoS.
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:3662 https://access.redhat.com/errata/RHSA-2020:3662
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-16163
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Extended Update Support Via RHSA-2024:0409 https://access.redhat.com/errata/RHSA-2024:0409
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:0572 https://access.redhat.com/errata/RHSA-2024:0572
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2024:0889 https://access.redhat.com/errata/RHSA-2024:0889