{"schema_version":"1.7.3","id":"GO-2024-2785","published":"2024-06-04T15:19:21Z","modified":"2026-02-04T03:15:08.811082Z","aliases":["CVE-2024-0874","GHSA-m9w6-wp3h-vq8g"],"related":["CGA-g23x-c7c7-j69j"],"summary":"CoreDNS may return invalid cache entries in github.com/coredns/coredns","details":"A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.","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"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/coredns/coredns/plugin/cache","symbols":["Cache.ServeDNS","Cache.exists","Cache.getIgnoreTTL","ResponseWriter.WriteMsg","hash","key","newPrefetchResponseWriter","verifyStaleResponseWriter.WriteMsg"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2785.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m9w6-wp3h-vq8g"},{"type":"FIX","url":"https://github.com/coredns/coredns/commit/997c7f953962d47c242273f0e41398fdfb5b0151"},{"type":"FIX","url":"https://github.com/coredns/coredns/pull/6354"},{"type":"REPORT","url":"https://github.com/coredns/coredns/issues/6186"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2024:0041"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-0874"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2219234"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2024-2785"}}