c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG. This issue was patched in version 1.19.1.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 12 | all | c-ares | <= 1.18.1-3 | c-ares_1.18.1-3_all.deb |
Debian | 11 | all | c-ares | <= 1.17.1-1+deb11u3 | c-ares_1.17.1-1+deb11u3_all.deb |
Debian | 10 | all | c-ares | <= 1.14.0-1+deb10u1 | c-ares_1.14.0-1+deb10u1_all.deb |
Debian | 999 | all | c-ares | < 1.19.1-2 | c-ares_1.19.1-2_all.deb |
Debian | 13 | all | c-ares | < 1.19.1-2 | c-ares_1.19.1-2_all.deb |