Skip to content
OpenAdvisories
High RHSA-2023:6635 4 CVEs

Red Hat Security Advisory: c-ares security, bug fix, and enhancement update

Published Sep 13, 2024 · Updated Jun 28, 2026

Fixed packages 6

ReleasePackageFixed in
Red Hat · RHEL 9 enterprise_linux:9::appstream c-ares-debuginfo 0:1.19.1-1.el9
Red Hat · RHEL 9 enterprise_linux:9::appstream c-ares-debugsource 0:1.19.1-1.el9
Red Hat · RHEL 9 enterprise_linux:9::appstream c-ares-devel 0:1.19.1-1.el9
Red Hat · RHEL 9 enterprise_linux:9::baseos c-ares 0:1.19.1-1.el9
Red Hat · RHEL 9 enterprise_linux:9::baseos c-ares-debuginfo 0:1.19.1-1.el9
Red Hat · RHEL 9 enterprise_linux:9::baseos c-ares-debugsource 0:1.19.1-1.el9

Vulnerabilities 4

  • High 8.6

    A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string,…

  • 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

  • article
    https://access.redhat.com/security/updates/classification/#moderate
  • article
    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2168631
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2209494
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2209497
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2209501
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2210370
  • advisory
    https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6635.json
  • report
    https://access.redhat.com/security/cve/CVE-2022-4904
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2022-4904
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2022-4904
  • article
    https://github.com/c-ares/c-ares/issues/496
  • report
    https://access.redhat.com/security/cve/CVE-2023-31124
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2023-31124
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2023-31124
  • article
    https://github.com/c-ares/c-ares/security/advisories/GHSA-54xr-f67r-4pc4
  • report
    https://access.redhat.com/security/cve/CVE-2023-31130
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2023-31130
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2023-31130
  • article
    https://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v
  • report
    https://access.redhat.com/security/cve/CVE-2023-31147
  • advisory
    https://www.cve.org/CVERecord?id=CVE-2023-31147
  • advisory
    https://nvd.nist.gov/vuln/detail/CVE-2023-31147
  • article
    https://github.com/c-ares/c-ares/security/advisories/GHSA-8r8p-23f3-64c2