An update for c-ares is now available for openEuler-22.03-LTS-SP1
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2023-1110
Final
1.0
1.0
2023-02-21
Initial
2023-02-21
2023-02-21
openEuler SA Tool V1.0
2023-02-21
c-ares security update
An update for c-ares is now available for openEuler-22.03-LTS-SP1.
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-22.03-LTS-SP1.
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-1110
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-4904
https://nvd.nist.gov/vuln/detail/CVE-2022-4904
openEuler-22.03-LTS-SP1
c-ares-debuginfo-1.18.1-4.oe2203sp1.aarch64.rpm
c-ares-1.18.1-4.oe2203sp1.aarch64.rpm
c-ares-devel-1.18.1-4.oe2203sp1.aarch64.rpm
c-ares-debugsource-1.18.1-4.oe2203sp1.aarch64.rpm
c-ares-help-1.18.1-4.oe2203sp1.noarch.rpm
c-ares-1.18.1-4.oe2203sp1.src.rpm
c-ares-1.18.1-4.oe2203sp1.x86_64.rpm
c-ares-debuginfo-1.18.1-4.oe2203sp1.x86_64.rpm
c-ares-debugsource-1.18.1-4.oe2203sp1.x86_64.rpm
c-ares-devel-1.18.1-4.oe2203sp1.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-21
CVE-2022-4904
openEuler-22.03-LTS-SP1
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-21
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1110