Summary
The c-ares C library defines asynchronous DNS (Domain Name System) requests and provides name resolving API.
The following packages have been upgraded to a later upstream version: c-ares (1.19.1). (BZ#2210370)
Security Fix(es):
* c-ares: buffer overflow in config_sortlist() due to missing string length check (CVE-2022-4904)
* c-ares: Buffer Underwrite in ares_inet_net_pton() (CVE-2023-31130)
* c-ares: Insufficient randomness in generation of DNS query IDs (CVE-2023-31147)
* c-ares: AutoTools does not set CARES_RANDOM_FILE during cross compilation (CVE-2023-31124)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 9 | c-ares | 1.19.1-1.el9 |
| AlmaLinux · 9 | c-ares-devel | 1.19.1-1.el9 |
Vulnerabilities 4
-
High 8.6
A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string,…
-
Medium 5.9
Insufficient randomness in generation of DNS query IDs in c-ares
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 outp…
-
Medium 4.1
Buffer Underwrite in ares_inet_net_pton()
c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes wh…
-
Low 3.7
AutoTools does not set CARES_RANDOM_FILE during cross compilation
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 …
References
-
report
https://access.redhat.com/security/cve/CVE-2022-4904
-
report
https://access.redhat.com/security/cve/CVE-2023-31124
-
report
https://access.redhat.com/security/cve/CVE-2023-31130
-
report
https://access.redhat.com/security/cve/CVE-2023-31147
-
report
https://bugzilla.redhat.com/2168631
-
report
https://bugzilla.redhat.com/2209494
-
report
https://bugzilla.redhat.com/2209497
-
report
https://bugzilla.redhat.com/2209501
-
advisory
https://errata.almalinux.org/9/ALSA-2023-6635.html