CVE-2024-0874
Coredns: cd bit response is cached and served later
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.3
Coredns: cd bit response is cached and served later
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
CVE-2024-0874- 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 - Weakness
- CWE-524
- Updated
- 2026-11-02
EUVDEUVD-2024-1245
5.3
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
EUVD-2024-1245- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-m9w6-wp3h-vq8g
6.9
CoreDNS may return invalid cache entries
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
GHSA-m9w6-wp3h-vq8g- CVSS 4.0
- 6.9 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 - 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 - Weakness
- CWE-524
- Updated
- 2026-11-02
NVD
5.3
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
CVE-2024-0874- 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 - Weakness
- CWE-524
- Updated
- 2026-11-02
OSVGHSA-m9w6-wp3h-vq8g
6.9
CoreDNS may return invalid cache entries
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
GHSA-m9w6-wp3h-vq8g- CVSS 4.0
- 6.9 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 - 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 - Weakness
- CWE-524
- Updated
- 2026-11-02
OSVAZL-40201 No score
CVE-2024-0874 affecting package coredns for versions less than 1.11.1-2
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
AZL-40201- Updated
- 2026-11-02
Show 4 moreShow less
OSVAZL-40222 No score
CVE-2024-0874 affecting package coredns for versions less than 1.11.1-8
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
AZL-40222- Updated
- 2026-11-02
OSVGO-2024-2785 No score
CoreDNS may return invalid cache entries in github.com/coredns/coredns
A flaw was found in coredns. This issue could lead to invalid cache entries returning due to incorrectly implemented caching.
- Record
GO-2024-2785- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0319-1 No score
Security update for coredns
This update for coredns fixes the following issues:
Update to version 1.11.3:
- optimize the performance for high qps (#6767)
- bump deps
- Fix zone parser error handling (#6680)
- Add alternate option to forward plugin (#6681)
- fix: plugin/file: return error when parsing the file fails (#6699)
- [fix:documentation] Clarify autopath README (#6750)
- Fix outdated test (#6747)
- Bump go version from 1.21.8 to 1.21.11 (#6755)
- Generate zplugin.go correctly with third-party plugins (#6692)
- dnstap: uses pointer receiver for small response writer (#6644)
- chore: fix function name in comment (#6608)
- [plugin/forward] Strip local zone from IPV6 nameservers (#6635)
- fixes CVE-2023-30464
- fixes CVE-2023-28452
Update to upstream head (git commit #5a52707):
- bump deps to address security issue CVE-2024-22189
- Return RcodeServerFailure when DNS64 has no next plugin (#6590)
- add plusserver to adopters (#6565)
- Change the log flags to be a variable that can be set prior to calling Run (#6546)
- Enable Prometheus native histograms (#6524)
- forward: respect context (#6483)
- add client labels to k8s plugin metadata (#6475)
- fix broken link in webpage (#6488)
- Repo controlled Go version (#6526)
- removed the mutex locks with atomic bool (#6525)
Update to version 1.11.2:
- rewrite: fix multi request concurrency issue in cname rewrite (#6407)
- plugin/tls: respect the path specified by root plugin (#6138)
- plugin/auto: warn when auto is unable to read elements of the directory tree (#6333)
- fix: make the codeowners link relative (#6397)
- plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (#6351)
- plugin/cache: key cache on Checking Disabled (CD) bit (#6354)
- Use the correct root domain name in the proxy plugin's TestHealthX tests (#6395)
- Add PITS Global Data Recovery Services as an adopter (#6304)
- Handle UDP responses that overflow with TC bit with test case (#6277)
- plugin/rewrite: add rcode as a rewrite option (#6204)
-
CVE-2024-0874: coredns: CD bit response is cached and served later
-
Update to version 1.11.1:
- Revert “plugin/forward: Continue waiting after receiving malformed responses
- plugin/dnstap: add support for “extra” field in payload
- plugin/cache: fix keepttl parsing
-
Update to version 1.11.0:
- Adds support for accepting DNS connections over QUIC (doq).
- Adds CNAME target rewrites to the rewrite plugin.
- Plus many bug fixes, and some security improvements.
- This release introduces the following backward incompatible changes:
- In the kubernetes plugin, we have dropped support for watching Endpoint and Endpointslice v1beta, since all supported K8s versions now use Endpointslice.
- The bufsize plugin changed its default size limit value to 1232
- Some changes to forward plugin metrics.
-
Update to version 1.10.1:
- Corrected architecture labels in multi-arch image manifest
- A new plugin timeouts that allows configuration of server listener timeout durations
- acl can drop queries as an action
- template supports creating responses with extended DNS errors
- New weighted policy in loadbalance
- Option to serve original record TTLs from cache
-
Update to version 1.10.0:
- core: add log listeners for k8s_event plugin (#5451)
- core: log DoH HTTP server error logs in CoreDNS format (#5457)
- core: warn when domain names are not in RFC1035 preferred syntax (#5414)
- plugin/acl: add support for extended DNS errors (#5532)
- plugin/bufsize: do not expand query UDP buffer size if already set to a smaller value (#5602)
- plugin/cache: add cache disable option (#5540)
- plugin/cache: add metadata for wildcard record responses (#5308)
- plugin/cache: add option to adjust SERVFAIL response cache TTL (#5320)
- plugin/cache: correct responses to Authenticated Data requests (#5191)
- plugin/dnstap: add identity and version support for the dnstap plugin (#5555) *…
- Record
openSUSE-SU-2024:0319-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13620-1 No score
coredns-1.11.1-2.1 on GA media
These are all security issues fixed in the coredns-1.11.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13620-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/coredns/corednsGo |
through 1.11.1 | 1.11.2 |
corednsAzure Linux:3 |
before 1.11.1-2 | 1.11.1-2 |
corednsAzure Linux:2 |
before 1.11.1-8 | 1.11.1-8 |
github.com/coredns/corednsGo |
before 1.11.2 | 1.11.2 |
corednsSUSE:Package Hub 15 SP6 From an advisory covering 6 CVEs |
before 1.11.3-bp156.4.3.1 | 1.11.3-bp156.4.3.1 |
corednsopenSUSE:Leap 15.6 From an advisory covering 6 CVEs |
before 1.11.3-bp156.4.3.1 | 1.11.3-bp156.4.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-0874 is a medium vulnerability (CVSS 5.3) in Red Hat Logging Subsystem For Red Hat Openshift, published April 25, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. Fixed in github.com/coredns/coredns 1.11.2.
References
access.redhat.com/errata/RHSA-2024:0041
access.redhat.com/errata/RHSA-2024:4850
access.redhat.com/errata/RHSA-2024:6009
access.redhat.com/errata/RHSA-2024:6406
access.redhat.com/security/cve/CVE-2024-0874
bugzilla.redhat.com/show_bug.cgi?id=2219234
Show 13 moreShow less
github.com/coredns/coredns/issues/6186
github.com/coredns/coredns/pull/6354
nvd.nist.gov/vuln/detail/CVE-2024-0874
github.com/coredns/coredns/commit/997c7f953962d47c242273f0e41398fdfb5b0151
github.com/advisories/GHSA-m9w6-wp3h-vq8g
github.com/coredns/coredns
lists.opensuse.org/archives/list/[email protected]/thread/2JLUFKCHWHJJ2MQ6XRREF7D4OOWB23V2
suse.com/security/cve/CVE-2022-27191
suse.com/security/cve/CVE-2022-28948
suse.com/security/cve/CVE-2023-28452
suse.com/security/cve/CVE-2023-30464
suse.com/security/cve/CVE-2024-0874
suse.com/security/cve/CVE-2024-22189
Left out here: the rest of 1 source description. The JSON record has them.