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

Published Jul 3, 2023
·
Updated

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

Other sources

Coredns mishandling of CI bit: CD bit response is cached and served later

What happened: If CD bit is set in query, it disables validation at remote server

What you expected to happen: CD queries may pass, but the same answer must not be served to queries without CD bit set

https://github.com/coredns/coredns/issues/6186

— Red Hat

Coredns: cd bit response is cached and served later

— Microsoft

Affected Software

6 affected componentsFixes available
go/github.com/coredns/coredns<=1.11.1
1.11.2
Microsoft cbl2 coredns 1.11.1-18<1.11.1-8
1.11.1-8
Microsoft azl3 coredns 1.11.1-4<1.11.1-2
1.11.1-2
Microsoft cbl2 coredns 1.11.1-8<1.11.1-8
1.11.1-8
Microsoft azl3 coredns 1.11.1-2<1.11.1-2
1.11.1-2
IBM API Connect<=V10.0.8.0 - V10.0.8.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/coredns/coredns to a version that resolves this vulnerability.

    Fixed in 1.11.2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.1-2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.1-8

Event History

Jul 3, 2023
Data Sourced
via Red Hat·05:10 AM
DescriptionSeverityAffected Software
Apr 25, 2024
CVE Published
via MITRE·04:22 PM
Data Sourced
via MITRE·04:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 PM
May 3, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Nov 18, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2024-0874?

CVE-2024-0874 has a severity rating that indicates a potential impact on system integrity and data validity due to incorrectly implemented caching.

2

How do I fix CVE-2024-0874?

To fix CVE-2024-0874, upgrade CoreDNS to version 1.11.2 or later to ensure proper handling of the CD bit in responses.

3

What systems are affected by CVE-2024-0874?

CVE-2024-0874 affects versions of CoreDNS up to and including 1.11.1.

4

How does CVE-2024-0874 affect cache entries?

CVE-2024-0874 can lead to invalid cache entries being returned due to mishandled CI and CD bit responses.

5

What is the cause of the issue in CVE-2024-0874?

The issue in CVE-2024-0874 is caused by CoreDNS improperly caching responses when the CD bit is set in the query.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203