Advisory

ALSA-2023:6635

Also known as: CVE-2022-4904, CVE-2023-31124, CVE-2023-31130, CVE-2023-31147

Summary

Moderate: c-ares security, bug fix, and enhancement update

Details

The c-ares C library defines asynchronous DNS (Domain Name System) requests and provides name resolving API.

The following packages have been upgraded to a later upstream version: c-ares (1.19.1). (BZ#2210370)

Security Fix(es):

  • c-ares: buffer overflow in config_sortlist() due to missing string length check (CVE-2022-4904)
  • c-ares: Buffer Underwrite in ares_inet_net_pton() (CVE-2023-31130)
  • c-ares: Insufficient randomness in generation of DNS query IDs (CVE-2023-31147)
  • c-ares: AutoTools does not set CARES_RANDOM_FILE during cross compilation (CVE-2023-31124)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2023-11-07 00:00 UTC
Modified
2026-10-29 11:31 UTC

Affected packages and fixes

c-ares

RPM packages (rpm) · AlmaLinux 9

Affected

  • introduced 0, fixed 1.19.1-1.el9 (ecosystem)

Fixed versions

1.19.1-1.el9

Fix

  • Fixed version 1.19.1-1.el9
    sudo dnf upgrade c-ares-1.19.1-1.el9

c-ares-devel

RPM packages (rpm) · AlmaLinux 9

Affected

  • introduced 0, fixed 1.19.1-1.el9 (ecosystem)

Fixed versions

1.19.1-1.el9

Fix

  • Fixed version 1.19.1-1.el9
    sudo dnf upgrade c-ares-devel-1.19.1-1.el9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences