{"id":"GHSA-m9w6-wp3h-vq8g","summary":" CoreDNS may return invalid cache entries","details":"A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.","aliases":["CVE-2024-0874","GO-2024-2785"],"modified":"2026-09-10T03:50:11.357172669Z","published":"2024-04-25T18:30:39Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-25T19:57:51Z","nvd_published_at":"2024-04-25T17:15:47Z","cwe_ids":["CWE-524"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0874"},{"type":"WEB","url":"https://github.com/coredns/coredns/issues/6186"},{"type":"WEB","url":"https://github.com/coredns/coredns/pull/6354"},{"type":"WEB","url":"https://github.com/coredns/coredns/commit/997c7f953962d47c242273f0e41398fdfb5b0151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0041"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:4850"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:6009"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:6406"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2219234"},{"type":"PACKAGE","url":"https://github.com/coredns/coredns"}],"affected":[{"package":{"name":"github.com/coredns/coredns","ecosystem":"Go","purl":"pkg:golang/github.com/coredns/coredns"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.11.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-m9w6-wp3h-vq8g/GHSA-m9w6-wp3h-vq8g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}