Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.5
Ceph packages before 18.2.2-1 may crash on malformed DNS config
published 2 years ago
Summary
Ceph installations that use an older c-ares library can crash if system DNS files (like /etc/resolv.conf or /etc/hosts) contain a null character at the start of a line. The problem is fixed in c-ares version 1.27.0, which is included in Ceph 18.2.2-1 and later. Upgrade Ceph to 18.2.2-1 or newer to eliminate the risk.
What to do
- Update azure ceph to version 18.2.2-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Azure Linux:3 | azure | ceph |
< 18.2.2-1 Fix: upgrade to 18.2.2-1
|
Original advisory text
CVE-2024-25629 affecting package ceph for versions less than 18.2.2-1
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.
References
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Timeline
Published23 Feb 2024
Updated23 Sep 2026
First seen23 Sep 2026
Sources
AZL-38126 · OSV
Track software like this
Free during beta