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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-02-23T14:52:24.967Z
Updated: 2024-08-01T23:44:09.807Z
Reserved: 2024-02-08T22:26:33.512Z
Link: CVE-2024-25629
Vulnrichment
Updated: 2024-08-01T23:44:09.807Z
NVD
Status : Awaiting Analysis
Published: 2024-02-23T15:15:09.237
Modified: 2024-11-21T09:01:06.910
Link: CVE-2024-25629
Redhat