#VU86807 Out-of-bounds read in c-ares - CVE-2024-25629

 

#VU86807 Out-of-bounds read in c-ares - CVE-2024-25629

Published: February 26, 2024


Vulnerability identifier: #VU86807
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-25629
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
c-ares
Software vendor:
c-ares.haxx.se

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the ares__read_line() function when parsing local configuration files, such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, or `HOSTALIASES` file. A local user can insert a NULL character as the first character in a new line into one of the configuration files and crash the application.


Remediation

Install updates from vendor's website.

External links