Debian DLA-3323-1 : c-ares - LTS security update

high Nessus Plugin ID 171633

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3323 advisory.

- A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity. (CVE-2022-4904)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the c-ares packages.

For Debian 10 buster, this problem has been fixed in version 1.14.0-1+deb10u2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031525

https://security-tracker.debian.org/tracker/source-package/c-ares

https://www.debian.org/lts/security/2023/dla-3323

https://security-tracker.debian.org/tracker/CVE-2022-4904

https://packages.debian.org/source/buster/c-ares

Plugin Details

Severity: High

ID: 171633

File Name: debian_DLA-3323.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/19/2023

Updated: 9/4/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:C

CVSS Score Source: CVE-2022-4904

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libc-ares-dev, p-cpe:/a:debian:debian_linux:libc-ares2

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/18/2023

Vulnerability Publication Date: 2/18/2023

Reference Information

CVE: CVE-2022-4904