{"id":"CVE-2024-0874","aliases":["CVE-2024-0874","GHSA-m9w6-wp3h-vq8g","GO-2024-2785"],"related":["CGA-g23x-c7c7-j69j"],"kind":"vulnerability","state":"published","title":"Coredns: cd bit response is cached and served later","summary":"A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla en coredns. Este problema podría provocar que se devuelvan entradas de caché no válidas debido a un almacenamiento en caché implementado incorrectamente.","source":"nvd"}],"published":"2024-04-25T16:22:44.182Z","modified":"2026-11-30T23:17:21.093Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-524"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.11.2","status":"affected"}],"package":"coredns","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v4.13.0-202408260940.p0.ge70f097.assembly.stream.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","package":"openshift4/ose-coredns","cpe":"cpe:/a:redhat:openshift:4.13::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v4.14.0-202408260910.p0.gfdd6037.assembly.stream.el8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","package":"openshift4/ose-coredns","cpe":"cpe:/a:redhat:openshift:4.14::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v4.15.0-202407230407.p0.g1326282.assembly.stream.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.15","package":"openshift4/ose-coredns-rhel9","cpe":"cpe:/a:redhat:openshift:4.15::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"v4.16.0-202406131906.p0.g04d84f7.assembly.stream.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.16","package":"openshift4/ose-coredns-rhel9","cpe":"cpe:/a:redhat:openshift:4.16::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","package":"openshift-logging/logging-loki-rhel8","cpe":"cpe:/a:redhat:logging:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","package":"rhacm2/lighthouse-agent-rhel9","cpe":"cpe:/a:redhat:acm:2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.2"}],"ecosystem":"Go","package":"github.com/coredns/coredns","purl":"pkg:golang/github.com/coredns/coredns","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.2"}],"ecosystem":"Go","package":"github.com/coredns/coredns","purl":"pkg:golang/github.com/coredns/coredns","source":"go"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:0041","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:4850","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6009","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6406","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-0874","tags":["vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2219234","tags":["issue-tracking","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coredns/coredns/issues/6186","tags":["report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/coredns/coredns/pull/6354","tags":["fix","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0874","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/coredns/coredns/commit/997c7f953962d47c242273f0e41398fdfb5b0151","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/coredns/coredns","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-m9w6-wp3h-vq8g","tags":["advisory"],"sources":["go"]}],"credits":["This issue was discovered by Petr Mensik (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-07-13T20:18:31.995Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-0874","url":"https://www.cve.org/CVERecord?id=CVE-2024-0874","licence":"CVE Terms of Use","modified":"2026-11-30T22:16:48.805Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m9w6-wp3h-vq8g","url":"https://github.com/advisories/GHSA-m9w6-wp3h-vq8g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.357Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2785","url":"https://pkg.go.dev/vuln/GO-2024-2785","licence":"CC-BY-4.0","modified":"2026-02-04T03:15:08.811Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-0874","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0874","licence":"Public domain","modified":"2026-11-30T23:17:21.093Z"}],"updatedAt":"2026-11-30T23:32:32.327Z","epss":{"score":0.00754,"percentile":0.56288,"date":"2026-12-01T12:00:22.000Z"}}