• CVE-2022-4904

发布时间: 2023年2月17日

修改时间: 2024年10月31日

概要

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.

CVSS v3 指标

NVD openEuler
Confidentiality Low High
Attack Vector Network Local
CVSS评分 8.6 6.9
Attack Complexity Low High
Privileges Required None None
Scope Unchanged Unchanged
Integrity Low High
User Interaction None None
Availability High Low

安全公告

公告名 概要 发布时间
KylinSec-SA-2023-1142 c-ares security update 2023年2月17日
KylinSec-SA-2023-2092 c-ares security update 2023年2月21日

影响产品

产品 状态
KY3.4-4A c-ares Fixed
KY3.4-5 c-ares Fixed
KY3.5.1 c-ares Fixed
KY3.5.2 c-ares Fixed