Vulnerability record · OpenEuler 22.03-LTS-SP1
An update for c-ares is now available for openEuler-22.03-LTS-SP1.
OpenEuler 22.03-LTS-SP1
What it fixes
Synopsis:
c-ares security updateSummary:
An update for c-ares is now available for openEuler-22.03-LTS-SP1.Description:
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)Topic:
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.Severity:
MediumAffected Component:
c-ares
Manual fix · OpenEuler 22.03-LTS-SP1
sudo dnf upgrade c-ares c-ares-devel c-ares-helprpm -q c-ares c-ares-devel c-ares-helpSources