Skip to content
OpenAdvisories
High SUSE-SU-2023:2477-1 4 CVEs

Security update for libcares2

Published Jun 9, 2023 · Updated Feb 4, 2026

Summary

This update for libcares2 fixes the following issues:

- CVE-2023-32067: Fixed a denial of service that could be triggered by
a 0-byte UDP payload (bsc#1211604).
- CVE-2023-31147: Fixed an insufficient randomness in generation of
DNS query IDs (bsc#1211605).
- CVE-2023-31130: Fixed a buffer underflow when configuring specific
IPv6 addresses (bsc#1211606).
- CVE-2023-31124: Fixed a build issue when cross-compiling that could
lead to insufficient randomness (bsc#1211607).

Fixed packages 10

ReleasePackageFixed in
SUSE · SLES 12 SP2 Linux Enterprise Server 12 SP2-BCL libcares2 1.9.1-9.12.1
SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-ESPOS libcares2 1.9.1-9.12.1
SUSE · SLES 12 SP4 Linux Enterprise Server 12 SP4-LTSS libcares2 1.9.1-9.12.1
SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5 libcares2 1.9.1-9.12.1
SUSE · SLES for SAP 12 SP4 Linux Enterprise Server for SAP Applications 12 SP4 libcares2 1.9.1-9.12.1
SUSE · SLES for SAP 12 SP5 Linux Enterprise Server for SAP Applications 12 SP5 libcares2 1.9.1-9.12.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 libcares2 1.9.1-9.12.1
SUSE · SLES 12 SP5 Linux Enterprise Workstation Extension 12 SP5 libcares2 1.9.1-9.12.1
SUSE · OpenStack Cloud 9 libcares2 1.9.1-9.12.1
SUSE · OpenStack Cloud Crowbar 9 libcares2 1.9.1-9.12.1

Vulnerabilities 4

  • High 7.5

    0-byte UDP payload DoS in c-ares

    c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously i…

  • Medium 5.9

    Insufficient randomness in generation of DNS query IDs in c-ares

    c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable outp…

  • Medium 4.1

    Buffer Underwrite in ares_inet_net_pton()

    c-ares is an asynchronous resolver library. 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 wh…

  • Low 3.7

    AutoTools does not set CARES_RANDOM_FILE during cross compilation

    c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow …

References

  • report
    https://bugzilla.suse.com/1211604
  • report
    https://bugzilla.suse.com/1211605
  • report
    https://bugzilla.suse.com/1211606
  • report
    https://bugzilla.suse.com/1211607
  • web
    https://www.suse.com/security/cve/CVE-2023-31124
  • web
    https://www.suse.com/security/cve/CVE-2023-31130
  • web
    https://www.suse.com/security/cve/CVE-2023-31147
  • web
    https://www.suse.com/security/cve/CVE-2023-32067