{
  "id": "CVE-2025-24294",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-24294",
  "published_at": "2025-07-12T03:30:40.226Z",
  "vendor": "Ruby",
  "product": "resolv",
  "cvss": {
    "score": 7.5,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.\r\n\r\nAn attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.\r\n\r\nThis resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cisa-adp": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Ruby",
        "product": "resolv",
        "ranges": [
          "\u003e= 0.2, \u003c= 0.2.2",
          "\u003e= 0.3.0, \u003c= 0.3.0",
          "\u003e= 0.6, \u003c= 0.6.1"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "resolv",
        "ranges": [
          "\u003c 0.2.3"
        ],
        "fixed_in": [
          "0.2.3"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xh69-987w-hrp8"
      },
      {
        "vendor": "",
        "product": "resolv",
        "ranges": [
          "\u003e= 0.4.0, \u003c 0.6.2"
        ],
        "fixed_in": [
          "0.6.2"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xh69-987w-hrp8"
      },
      {
        "vendor": "",
        "product": "resolv",
        "ranges": [
          "\u003e= 0.3.0, \u003c 0.3.1"
        ],
        "fixed_in": [
          "0.3.1"
        ],
        "ecosystem": "RubyGems",
        "advisory": "GHSA-xh69-987w-hrp8"
      }
    ],
    "upgrade": [
      "Upgrade resolv to 0.2.3 or later.",
      "Upgrade resolv to 0.6.2 or later.",
      "Upgrade resolv to 0.3.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
