{
  "id": "CVE-2025-58063",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-58063",
  "published_at": "2025-09-09T19:27:18.124Z",
  "title": "CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion",
  "vendor": "coredns",
  "product": "coredns",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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": "CoreDNS is a DNS server that chains plugins. Starting in version 1.2.0 and prior to version 1.12.4, the CoreDNS etcd plugin contains a TTL confusion vulnerability where lease IDs are incorrectly used as TTL values, enabling DNS cache pinning attacks. This effectively creates a DoS condition for DNS resolution of affected services. The `TTL()` function in `plugin/etcd/etcd.go` incorrectly casts etcd lease IDs (64-bit integers) to uint32 and uses them as TTL values. Large lease IDs become very large TTLs when cast to uint32. This enables cache pinning attacks. Version 1.12.4 contains a fix for the issue.",
  "cwe": "CWE-681",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "coredns",
        "product": "coredns",
        "ranges": [
          "\u003e= 1.2.0, \u003c 1.12.4"
        ],
        "fixed_in": [
          "1.12.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coredns to 1.12.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coredns/coredns/security/advisories/GHSA-93mf-426m-g6x9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coredns/coredns/commit/e1768a5d272e9da649dfb8588595e5c6e4e640bf"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
