c-ares-1.19.1-1.el9

エラータID: AXSA:2023-6745:04

Release date: 
Thursday, December 7, 2023 - 12:50
Subject: 
c-ares-1.19.1-1.el9
Affected Channels: 
MIRACLE LINUX 9 for x86_64
Severity: 
Moderate
Description: 

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).

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.

CVE-2022-4904
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.
CVE-2023-31124
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.
CVE-2023-31130
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 which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.
CVE-2023-31147
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.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. c-ares-1.19.1-1.el9.src.rpm
    MD5: c10fa88bc2e4a8c9d9067319bf7d0fc8
    SHA-256: cd7f1a84646c09ee85a2d3e3783622376b1e65142d2b47c00516caa875c29880
    Size: 1.52 MB

Asianux Server 9 for x86_64
  1. c-ares-1.19.1-1.el9.i686.rpm
    MD5: 33ff858f15b21a2d1909847bfbc97b51
    SHA-256: f3074f76ba03620f8b1b50e20e7c6b84c329d6506b5c47d8d3546e5fb6ec88ac
    Size: 113.85 kB
  2. c-ares-1.19.1-1.el9.x86_64.rpm
    MD5: 28a7b9cbcc9111cc24d63b00b87dd00f
    SHA-256: 506c2234d0c92c9184cd95715f30beb5b7d8998b8450eb91873776997d467817
    Size: 109.40 kB
  3. c-ares-devel-1.19.1-1.el9.i686.rpm
    MD5: 94c4a1cbb16551e80b2a606d4762efcd
    SHA-256: cfa8f63d1d44341851be24790bc717b73a2e55a79d84be20653e3de98cd750de
    Size: 98.24 kB
  4. c-ares-devel-1.19.1-1.el9.x86_64.rpm
    MD5: 6b5cfe825af90cea9e09120e4a7bfd01
    SHA-256: fc3f9630fc05328f95801008bfa6ad2ca27e0fc8e9fe51ee821de8adfc2dd47e
    Size: 98.23 kB