An update for c-ares is now available for openEuler-20.03-LTS-SP3
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2023-1358
Final
1.0
1.0
2023-06-17
Initial
2023-06-17
2023-06-17
openEuler SA Tool V1.0
2023-06-17
c-ares security update
An update for c-ares is now available for openEuler-20.03-LTS-SP3.
This is c-ares, an asynchronous resolver library. It is intended for applications which need to perform DNS queries without blocking, or need to perform multiple
Security Fix(es):
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-31130)
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.(CVE-2023-31147)
An update for c-ares is now available for openEuler-20.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
Medium
c-ares
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1358
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-31130
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-31147
https://nvd.nist.gov/vuln/detail/CVE-2023-31130
https://nvd.nist.gov/vuln/detail/CVE-2023-31147
openEuler-20.03-LTS-SP3
c-ares-1.16.1-7.oe1.aarch64.rpm
c-ares-devel-1.16.1-7.oe1.aarch64.rpm
c-ares-debuginfo-1.16.1-7.oe1.aarch64.rpm
c-ares-debugsource-1.16.1-7.oe1.aarch64.rpm
c-ares-help-1.16.1-7.oe1.noarch.rpm
c-ares-1.16.1-7.oe1.src.rpm
c-ares-1.16.1-7.oe1.x86_64.rpm
c-ares-devel-1.16.1-7.oe1.x86_64.rpm
c-ares-debuginfo-1.16.1-7.oe1.x86_64.rpm
c-ares-debugsource-1.16.1-7.oe1.x86_64.rpm
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.
2023-06-17
CVE-2023-31130
openEuler-20.03-LTS-SP3
Medium
6.4
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
c-ares security update
2023-06-17
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1358
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.
2023-06-17
CVE-2023-31147
openEuler-20.03-LTS-SP3
Medium
6.5
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
c-ares security update
2023-06-17
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1358