ALAS2-2024-2399 --- c-aresID: oval:org.secpod.oval:def:1702028 | Date: (C)2024-02-07 (M)2024-02-07 |
Class: PATCH | Family: unix |
A flaw was found in c-ares library, where a missing input validation check of host names returned by DNS can lead to output of wrong hostnames which might potentially lead to Domain Hijacking. The highest threat from this vulnerability is to confidentiality and integrity as well as system availability. A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity. ares_inet_net_pton is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist.However, users may externally use ares_inet_net_pton for other purposes and thus be vulnerable to more severe issues