VDB
ALPINE-CVE-2024-25629
ALPINE-CVE-2024-25629
PUBLISHED
CVSS 5.5 MEDIUM
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.
Risk Scores
CVSS v3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.20 | c-ares | 0, 1.10.0-r1, 1.11.0-r0 |
| Alpine:v3.22 | c-ares | 1.15.0-r0, 1.10.0-r0, 1.10.0-r1 |
| Alpine:v3.17 | c-ares | 1.9.1-r0, 1.9.0-r0, 1.8.0-r0 |
| Alpine:v3.19 | c-ares | 1.7.4-r0, 0, 1.10.0-r0 |
| Alpine:v3.21 | c-ares | 1.7.5-r0, 1.19.0-r2, 1.19.0-r3 |
| Alpine:v3.18 | c-ares | 1.17.1-r0, 1.17.1-r1, 1.18.1-r0 |
| Alpine:v3.23 | c-ares | 1.21.0-r0, 1.19.1-r0, 1.7.4-r0 |
| Alpine:v3.16 | c-ares | 1.18.1-r0, 1.19.1-r0, 1.6.0-r0 |
Timeline
- Feb 23, 2024 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch