VULNERABILITY

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

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

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

Severity
5
CVSS
(AV:L/AC:L/Au:S/C:N/I:N/A:C)
Published
02/23/2024
Created
02/27/2024
Added
02/25/2024
Modified
02/19/2025

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

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

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

;