CVE-2023-30464: Github.com/coredns/coredns CoreDNS Cache Poisoning Vulnerability

MODERATE
Advisory Identifier: GHSA-h92q-fgpp-qhrq
CVSS 3.7
CWE-290
Published
Advisory Summary

CVE-2023-30464 is a MODERATE (CVSS 3.7) coredns cache poisoning vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Github.com/coredns/coredns libraries in the Go ecosystem. The issue involves coredns cache poisoning via a birthday attack. Remediation is available in the latest vendor maintenance releases.

CVE-2023-30464 at a Glance

CVE Identifier CVE-2023-30464
GHSA Identifier GHSA-h92q-fgpp-qhrq
Severity MODERATE
CVSS v3.1 Base Score 3.7
CWE Classification CWE-290: Authentication Bypass by Spoofing
Affected Product Github.com/coredns/coredns
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-30464

To remediate this vulnerability, upgrade all affected Github.com/coredns/coredns dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/coredns/coredns fixed: Latest secure release
Upgrade github.com/coredns/coredns to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/coredns/coredns

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-30464, inspect your project dependencies for Github.com/coredns/coredns:

inspect dependencies for github.com/coredns/coredns

Analyze the terminal output to locate any version of Github.com/coredns/coredns in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Github.com/coredns/coredns, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

CoreDNS through 1.10.1 enables attackers to achieve DNS cache poisoning and inject fake responses via a birthday attack.

CVE-2023-30464 Affected Github.com/coredns/coredns Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/coredns/coredns
Go
≤ 1.10.1

References

Frequently Asked Questions

What is CVE-2023-30464?
CVE-2023-30464 is a security vulnerability in Github.com/coredns/coredns involving CoreDNS Cache Poisoning via a birthday attack under CWE-290: Authentication Bypass by Spoofing.
Which Github.com/coredns/coredns versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/coredns/coredns.
What version fixes CVE-2023-30464?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/coredns/coredns affected?
Yes, github.com/coredns/coredns is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2023-30464?
CVE-2023-30464 has a CVSS v3.1 base score of 3.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2023-30464?
CVE-2023-30464 is classified under CWE-290: Authentication Bypass by Spoofing (This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.).
How can I check Go dependencies for CVE-2023-30464?
Run the dependency tree command: 'inspect dependencies for github.com/coredns/coredns'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h92q-fgpp-qhrq",
  "modified" : "2026-06-05T21:31:24Z",
  "published" : "2024-09-18T21:30:48Z",
  "aliases" : [ "CVE-2023-30464" ],
  "summary" : "CoreDNS Cache Poisoning via a birthday attack",
  "details" : "CoreDNS through 1.10.1 enables attackers to achieve DNS cache poisoning and inject fake responses via a birthday attack.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/coredns/coredns"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.10.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-30464"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/coredns/coredns/commit/604a902e2c7e0317aecaa3666124079c75a31573"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/idealeer/e41c7fb3b661d4262d0b6f21e12168ba"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/coredns/coredns"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-290" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-18T22:50:13Z",
    "nvd_published_at" : "2024-09-18T21:15:13Z"
  }
}