Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2024-25629: Vulnerability in C-ares

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Alpine Linux: CVE-2024-25629: Vulnerability in C-ares

Severity
4
CVSS
(AV:L/AC:L/Au:M/C:N/I:N/A:C)
Published
02/23/2024
Created
04/09/2024
Added
03/26/2024
Modified
04/09/2024

Description

c-ares is a C library for asynchronous DNS requests. `ares__read_line()` is used to parse local configuration files such as `/etc/resolv.conf`, `/etc/nsswitch.conf`, the `HOSTALIASES` file, and if using a c-ares version prior to 1.27.0, the `/etc/hosts` file. If any of these configuration files has an embedded `NULL` character as the first character in a new line, it can lead to attempting to read memory prior to the start of the given buffer which may result in a crash. This issue is fixed in c-ares 1.27.0. No known workarounds exist.

Solution(s)

  • alpine-linux-upgrade-c-ares

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;