An update for c-ares is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2023-1091
Final
1.0
1.0
2023-02-17
Initial
2023-02-17
2023-02-17
openEuler SA Tool V1.0
2023-02-17
c-ares security update
An update for c-ares is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.
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):
In ares_set_sortlist, it calls config_sortlist(..., sortstr) to parse the input str and initialize a sortlist configuration. However, ares_set_sortlist has not any checks about the validity of the input str. It is very easy to create an arbitrary length stack overflow with the unchecked memcpy(ipbuf, str, q-str); and memcpy(ipbufpfx, str, q-str); statements in the config_sortlist call, which could potentially cause severe security impact in practical programs.(CVE-2022-4904)
An update for c-ares is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS.
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-1091
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-4904
https://nvd.nist.gov/vuln/detail/CVE-2022-4904
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
c-ares-debuginfo-1.16.1-4.oe1.aarch64.rpm
c-ares-debugsource-1.16.1-4.oe1.aarch64.rpm
c-ares-devel-1.16.1-4.oe1.aarch64.rpm
c-ares-1.16.1-4.oe1.aarch64.rpm
c-ares-debugsource-1.16.1-4.oe1.aarch64.rpm
c-ares-devel-1.16.1-4.oe1.aarch64.rpm
c-ares-debuginfo-1.16.1-4.oe1.aarch64.rpm
c-ares-1.16.1-4.oe1.aarch64.rpm
c-ares-devel-1.18.1-4.oe2203.aarch64.rpm
c-ares-debugsource-1.18.1-4.oe2203.aarch64.rpm
c-ares-1.18.1-4.oe2203.aarch64.rpm
c-ares-debuginfo-1.18.1-4.oe2203.aarch64.rpm
c-ares-help-1.16.1-4.oe1.noarch.rpm
c-ares-help-1.16.1-4.oe1.noarch.rpm
c-ares-help-1.18.1-4.oe2203.noarch.rpm
c-ares-1.16.1-4.oe1.src.rpm
c-ares-1.16.1-4.oe1.src.rpm
c-ares-1.18.1-4.oe2203.src.rpm
c-ares-debugsource-1.16.1-4.oe1.x86_64.rpm
c-ares-1.16.1-4.oe1.x86_64.rpm
c-ares-devel-1.16.1-4.oe1.x86_64.rpm
c-ares-debuginfo-1.16.1-4.oe1.x86_64.rpm
c-ares-devel-1.16.1-4.oe1.x86_64.rpm
c-ares-debuginfo-1.16.1-4.oe1.x86_64.rpm
c-ares-debugsource-1.16.1-4.oe1.x86_64.rpm
c-ares-1.16.1-4.oe1.x86_64.rpm
c-ares-1.18.1-4.oe2203.x86_64.rpm
c-ares-devel-1.18.1-4.oe2203.x86_64.rpm
c-ares-debugsource-1.18.1-4.oe2203.x86_64.rpm
c-ares-debuginfo-1.18.1-4.oe2203.x86_64.rpm
In ares_set_sortlist, it calls config_sortlist(..., sortstr) to parse the input str and initialize a sortlist configuration. However, ares_set_sortlist has not any checks about the validity of the input str. It is very easy to create an arbitrary length stack overflow with the unchecked memcpy(ipbuf, str, q-str); and memcpy(ipbufpfx, str, q-str); statements in the config_sortlist call, which could potentially cause severe security impact in practical programs.
2023-02-17
CVE-2022-4904
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
Medium
6.9
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
c-ares security update
2023-02-17
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1091