Skip to content
Heist/ feed
Back to feed
UnratedFix available

c-ares: Fix of 4 CVEs

Type: advisorySources: OSV

- CVE-2024-25629: fix invalid memory read issue in ares__read_line() - CVE-2023-31130: fix buffer underflow in ares_inet_net_pton() for certain ipv6 addresses - CVE-2023-31147: fix issue of using weak random numbers in DNS query ids by replacing rand() with a modern OS-provided CSPRNG like arc4random() - CVE-2023-31124: prevent fallback to rand() for entropy generation which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG.

Products
c-ares, c-ares-devel
Affected versions
Not specified
Fixed versions
1.17.1-5.el9_2.1.tuxcare.els3
CVEs
CVE-2023-31124, CVE-2023-31130, CVE-2023-31147, CVE-2024-25629
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:50 UTC · Revision 1

Source evidence

c-ares: Fix of 4 CVEs

core-osv · Original source

Published 15 Apr 2025, 12:53 UTC

- CVE-2024-25629: fix invalid memory read issue in ares__read_line() - CVE-2023-31130: fix buffer underflow in ares_inet_net_pton() for certain ipv6 addresses - CVE-2023-31147: fix issue of using weak random numbers in DNS query ids by replacing rand() with a modern OS-provided CSPRNG like arc4random() - CVE-2023-31124: prevent fallback to rand() for entropy generation which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG.

osv:CLSA-2025-1744721593

c-ares

Fixed versions: 1.17.1-5.el9_2.1.tuxcare.els3

c-ares-devel

Fixed versions: 1.17.1-5.el9_2.1.tuxcare.els3

Complete source record
{
  "id": "eb7f5f27736a3addf27c43af025a78414b0cda544600f090f22977e4fee55b59",
  "url": "https://osv.dev/vulnerability/CLSA-2025-1744721593",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "c-ares: Fix of 4 CVEs",
    "summary": "- CVE-2024-25629: fix invalid memory read issue in ares__read_line() - CVE-2023-31130: fix buffer underflow in ares_inet_net_pton() for certain ipv6 addresses - CVE-2023-31147: fix issue of using weak random numbers in DNS query ids by replacing rand() with a modern OS-provided CSPRNG like arc4random() - CVE-2023-31124: prevent fallback to rand() for entropy generation which could allow an attacker to take advantage of the lack of entropy by not using a CSPRNG.",
    "evidence": "osv:CLSA-2025-1744721593",
    "products": [
      {
        "name": {
          "value": "c-ares",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.17.1-5.el9_2.1.tuxcare.els3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "c-ares-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.17.1-5.el9_2.1.tuxcare.els3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2025-1744721593",
      "aliases": [
        "CLSA-2025-1744721593"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.17.1-5.el9_2.1.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "c-ares",
            "purl": "pkg:rpm/tuxcare/c-ares?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2025-1744721593.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.17.1-5.el9_2.1.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "c-ares-devel",
            "purl": "pkg:rpm/tuxcare/c-ares-devel?distro=almalinux-9.2",
            "ecosystem": "TuxCare:AlmaLinux:9.2"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.2esu/CLSA-2025-1744721593.json"
          }
        }
      ],
      "modified": "2026-10-21T10:46:09.800634221Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-31124",
        "CVE-2023-31130",
        "CVE-2023-31147",
        "CVE-2024-25629"
      ],
      "references": [
        "https://errata.tuxcare.com/almalinux9.2-esu/CLSA-2025-1744721593.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-31124",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-31130",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-31147",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2024-25629",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 392217,
  "published_at": "2025-04-15T12:53:19+00:00"
}