ALPINE-CVE-2024-25629
ALPINE-CVE-2024-25629
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.5 · Medium · Fix available
- Published
- Updated
Stack: system
Affected products and versions
c-ares Alpine:v3.16
- Affected ranges
- ECOSYSTEM: < 1.19.1-r1
Update to 1.19.1-r1
c-ares Alpine:v3.17
- Affected ranges
- ECOSYSTEM: < 1.19.1-r1
Update to 1.19.1-r1
c-ares Alpine:v3.18
- Affected ranges
- ECOSYSTEM: < 1.19.1-r1
Update to 1.19.1-r1
c-ares Alpine:v3.19
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0
c-ares Alpine:v3.20
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0
c-ares Alpine:v3.21
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0
c-ares Alpine:v3.22
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0
c-ares Alpine:v3.23
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0
c-ares Alpine:v3.24
- Affected ranges
- ECOSYSTEM: < 1.27.0-r0
Update to 1.27.0-r0