Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-255BF44C-D298-11EE-9C27-40B034429ECF (CVE-2024-25629): dns/c-ares -- malformatted file causes application crash

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-255BF44C-D298-11EE-9C27-40B034429ECF (CVE-2024-25629): dns/c-ares -- malformatted file causes application crash

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
02/23/2024
Created
02/27/2024
Added
02/25/2024
Modified
02/25/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)

  • freebsd-upgrade-package-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

;