# CVE-2024-0874: Coredns: cd bit response is cached and served later

- Severity: Medium 5.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-04-25T16:22:44.182Z
- Modified: 2026-11-30T23:17:21.093Z
- Also known as: GHSA-m9w6-wp3h-vq8g, GO-2024-2785
- Related: CGA-g23x-c7c7-j69j
- Weaknesses: CWE-524
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.

(As written by CVE List.)

## Affected

- coredns: before 1.11.2
- openshift4/ose-coredns: no versions given (not affected: from v4.13.0-202408260940.p0.ge70f097.assembly.stream.el8 before *; from v4.14.0-202408260910.p0.gfdd6037.assembly.stream.el8 before *)
- openshift4/ose-coredns-rhel9: no versions given (not affected: from v4.15.0-202407230407.p0.g1326282.assembly.stream.el9 before *; from v4.16.0-202406131906.p0.g04d84f7.assembly.stream.el9 before *)
- openshift-logging/logging-loki-rhel8: no versions given
- rhacm2/lighthouse-agent-rhel9: no versions given
- github.com/coredns/coredns (Go): before 1.11.2

## Every score

- redhat: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://access.redhat.com/errata/RHSA-2024:0041> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:4850> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6009> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:6406> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-0874> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2219234> (issue-tracking, web)
- <https://github.com/coredns/coredns/issues/6186> (report, web)
- <https://github.com/coredns/coredns/pull/6354> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0874> (advisory)
- <https://github.com/coredns/coredns/commit/997c7f953962d47c242273f0e41398fdfb5b0151> (fix, web)
- <https://github.com/coredns/coredns> (package)
- <https://github.com/advisories/GHSA-m9w6-wp3h-vq8g> (advisory)

## Sources

- CVE List: [CVE-2024-0874](https://www.cve.org/CVERecord?id=CVE-2024-0874), CVE Terms of Use, modified 2026-11-30
- GitHub Advisory Database: [GHSA-m9w6-wp3h-vq8g](https://github.com/advisories/GHSA-m9w6-wp3h-vq8g), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2785](https://pkg.go.dev/vuln/GO-2024-2785), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-0874](https://nvd.nist.gov/vuln/detail/CVE-2024-0874), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2024-0874 · Whole record: https://cve.day/CVE-2024-0874.json · Rebuilt by cve.day 2026-11-30T23:32:32.327Z
