A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity.
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Name | Vendor | Start Version | End Version |
---|---|---|---|
C-ares | C-ares_project | * | 1.19.0 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | nodejs:16-8070020230314140722.bd1311ed | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:14-8070020230306170042.bd1311ed | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:18-8080020230607122508.63b34585 | * |
Red Hat Enterprise Linux 8 | RedHat | c-ares-0:1.13.0-8.el8 | * |
Red Hat Enterprise Linux 8.4 Extended Update Support | RedHat | nodejs:14-8040020230306170312.522a0ee4 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | nodejs:14-8060020230306170237.ad008a3a | * |
Red Hat Enterprise Linux 8.8 Extended Update Support | RedHat | c-ares-0:1.13.0-6.el8_8.3 | * |
Red Hat Enterprise Linux 9 | RedHat | nodejs:18-9020020230327152102.rhel9 | * |
Red Hat Enterprise Linux 9 | RedHat | nodejs-1:16.19.1-1.el9_2 | * |
Red Hat Enterprise Linux 9 | RedHat | c-ares-0:1.19.1-1.el9 | * |
Red Hat Enterprise Linux 9 | RedHat | c-ares-0:1.19.1-1.el9 | * |
Red Hat Enterprise Linux 9.0 Extended Update Support | RedHat | nodejs-1:16.20.2-1.el9_0 | * |
Red Hat Enterprise Linux 9.0 Extended Update Support | RedHat | c-ares-0:1.17.1-5.el9_0.2 | * |
Red Hat Enterprise Linux 9.2 Extended Update Support | RedHat | c-ares-0:1.17.1-5.el9_2.2 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs14-0:3.6-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs14-nodejs-0:14.21.3-2.el7 | * |
C-ares | Ubuntu | bionic | * |
C-ares | Ubuntu | focal | * |
C-ares | Ubuntu | jammy | * |
C-ares | Ubuntu | kinetic | * |
C-ares | Ubuntu | trusty | * |
C-ares | Ubuntu | upstream | * |
C-ares | Ubuntu | xenial | * |
Specified quantities include size, length, frequency, price, rate, number of operations, time, and others. Code may rely on specified quantities to allocate resources, perform calculations, control iteration, etc. When the quantity is not properly validated, then attackers can specify malicious quantities to cause excessive resource allocation, trigger unexpected failures, enable buffer overflows, etc.