c-ares: c-ares is an asynchronous resolver library
CVE-2023-31147 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2023-31147, released May 25, 2023. It is not reported as exploited. Patch Radar priority: High.
c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| c-ares · Debian 13.5 (trixie) | 1.19.1-2 | DEBIAN-CVE-2023-31147 | May 25, 2023 |
| c-ares · Debian 14 | 1.19.1-2 | DEBIAN-CVE-2023-31147 | May 25, 2023 |
| c-ares · RHEL 9 | 0:1.19.1-1.el9 | RHSA-2023:6635 | Nov 7, 2023 |
| c-ares · almalinux 9 | 1.19.1-1.el9 | ALSA-2023:6635 | Nov 7, 2023 |
| c-ares · amzn 2023 | 1.19.0-1.amzn2023 | ALAS2023-2023-198 | Jun 5, 2023 |
| c-ares · ol 9 | 0:1.19.1-1.el9 | ELSA-2023-6635 | Nov 11, 2023 |
| c-ares-debuginfo · amzn 2023 | 1.19.0-1.amzn2023 | ALAS2023-2023-198 | Jun 5, 2023 |
| c-ares-debugsource · amzn 2023 | 1.19.0-1.amzn2023 | ALAS2023-2023-198 | Jun 5, 2023 |
| c-ares-devel · RHEL 9 | 0:1.19.1-1.el9 | RHSA-2023:6635 | Nov 7, 2023 |
| c-ares-devel · almalinux 9 | 1.19.1-1.el9 | ALSA-2023:6635 | Nov 7, 2023 |
| c-ares-devel · amzn 2023 | 1.19.0-1.amzn2023 | ALAS2023-2023-198 | Jun 5, 2023 |
| c-ares-devel · ol 9 | 0:1.19.1-1.el9 | ELSA-2023-6635 | Nov 11, 2023 |
| ecs-service-connect-agent · amzn 2023 | v1.27.0.0-1.amzn2023 | ALAS2023-2023-344 | Sep 14, 2023 |
| nodejs · RHEL 8 | 1:18.14.2-3.module+el8.8.0+19021+4b8b11cc | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs · RHEL 9 | 1:16.19.1-2.el9_2 | RHSA-2023:3586 | Jun 14, 2023 |
| nodejs · almalinux 8 | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs · almalinux 9 | 1:16.19.1-2.el9_2 | ALSA-2023:3586 | Jun 14, 2023 |
| nodejs · ol 8 | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs · ol 9 | 1:16.19.1-2.el9_2 | ELSA-2023-3586 | Jun 15, 2023 |
| nodejs · rocky 8 | 1:18.14.2-3.module+el8.8.0+1337+7ea46b57 | RLSA-2023:4035 | Aug 31, 2023 |
| nodejs-devel · RHEL 8 | 1:18.14.2-3.module+el8.8.0+19021+4b8b11cc | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-devel · RHEL 9 | 1:18.14.2-3.module+el9.2.0.z+18964+42696395 | RHSA-2023:3577 | Jun 14, 2023 |
| nodejs-devel · almalinux 8 | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-devel · almalinux 9 | 1:18.14.2-3.module_el9.2.0+30+e3312493 | ALSA-2023:3577 | Jun 14, 2023 |
| nodejs-devel · ol 8 | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-devel · ol 9 | 1:18.14.2-3.module+el9.2.0+21063+2bebdd12 | ELSA-2023-3577 | Jun 15, 2023 |
| nodejs-docs · RHEL 8 | 1:18.14.2-3.module+el8.8.0+19021+4b8b11cc | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-docs · RHEL 9 | 1:16.19.1-2.el9_2 | RHSA-2023:3586 | Jun 14, 2023 |
| nodejs-docs · almalinux 8 | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-docs · almalinux 9 | 1:16.19.1-2.el9_2 | ALSA-2023:3586 | Jun 14, 2023 |
| nodejs-docs · ol 8 | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-docs · ol 9 | 1:16.19.1-2.el9_2 | ELSA-2023-3586 | Jun 15, 2023 |
| nodejs-full-i18n · RHEL 8 | 1:18.14.2-3.module+el8.8.0+19021+4b8b11cc | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-full-i18n · RHEL 9 | 1:16.19.1-2.el9_2 | RHSA-2023:3586 | Jun 14, 2023 |
| nodejs-full-i18n · almalinux 8 | 1:18.14.2-3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-full-i18n · almalinux 9 | 1:16.19.1-2.el9_2 | ALSA-2023:3586 | Jun 14, 2023 |
| nodejs-full-i18n · ol 8 | 1:18.14.2-3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-full-i18n · ol 9 | 1:16.19.1-2.el9_2 | ELSA-2023-3586 | Jun 15, 2023 |
| nodejs-libs · RHEL 9 | 1:16.19.1-2.el9_2 | RHSA-2023:3586 | Jun 14, 2023 |
| nodejs-libs · almalinux 9 | 1:16.19.1-2.el9_2 | ALSA-2023:3586 | Jun 14, 2023 |
| nodejs-libs · ol 9 | 1:16.19.1-2.el9_2 | ELSA-2023-3586 | Jun 15, 2023 |
| nodejs-nodemon · RHEL 8 | 0:2.0.20-2.module+el8.8.0+18432+27f188ac | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-nodemon · RHEL 9 | 0:2.0.20-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:3577 | Jun 14, 2023 |
| nodejs-nodemon · almalinux 8 | 2.0.20-2.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-nodemon · almalinux 9 | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:3577 | Jun 14, 2023 |
| nodejs-nodemon · ol 8 | 0:2.0.20-2.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-nodemon · ol 9 | 0:2.0.20-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-3577 | Jun 15, 2023 |
| nodejs-nodemon · rocky 8 | 0:2.0.20-2.module+el8.7.0+1177+510ae886 | RLSA-2023:4035 | Aug 31, 2023 |
| nodejs-nodemon · rocky 9 | 0:2.0.20-2.module+el9.6.0+32048+5323bb50 | RLSA-2023:3577 | Jun 24, 2023 |
| nodejs-packaging · RHEL 8 | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-packaging · RHEL 9 | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:3577 | Jun 14, 2023 |
| nodejs-packaging · almalinux 8 | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-packaging · almalinux 9 | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:3577 | Jun 14, 2023 |
| nodejs-packaging · ol 8 | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-packaging · ol 9 | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-3577 | Jun 15, 2023 |
| nodejs-packaging · rocky 8 | 0:2021.06-4.module+el8.7.0+1072+5b168780 | RLSA-2023:4035 | Aug 31, 2023 |
| nodejs-packaging · rocky 9 | 0:2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2023:3577 | Jun 24, 2023 |
| nodejs-packaging-bundler · RHEL 8 | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:4035 | Jul 12, 2023 |
| nodejs-packaging-bundler · RHEL 9 | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:3577 | Jun 14, 2023 |
| nodejs-packaging-bundler · almalinux 8 | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4035 | Jul 12, 2023 |
| nodejs-packaging-bundler · almalinux 9 | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:3577 | Jun 14, 2023 |
| nodejs-packaging-bundler · ol 8 | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4035 | Jul 19, 2023 |
| nodejs-packaging-bundler · ol 9 | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-3577 | Jun 15, 2023 |
| npm · RHEL 8 | 1:9.5.0-1.18.14.2.3.module+el8.8.0+19021+4b8b11cc | RHSA-2023:4035 | Jul 12, 2023 |
| npm · RHEL 9 | 1:8.19.3-1.16.19.1.2.el9_2 | RHSA-2023:3586 | Jun 14, 2023 |
| npm · almalinux 8 | 1:9.5.0-1.18.14.2.3.module_el8.8.0+3587+ee652244 | ALSA-2023:4035 | Jul 12, 2023 |
| npm · almalinux 9 | 1:8.19.3-1.16.19.1.2.el9_2 | ALSA-2023:3586 | Jun 14, 2023 |
| npm · ol 8 | 1:9.5.0-1.18.14.2.3.module+el8.8.0+21122+857852f8 | ELSA-2023-4035 | Jul 19, 2023 |
| npm · ol 9 | 1:8.19.3-1.16.19.1.2.el9_2 | ELSA-2023-3586 | Jun 15, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.