CVE-2021-25220: DNS forwarders - cache poisoning vulnerability

Published Mar 16, 2022
·
Updated

A cache poisoning vulnerability was found in BIND when using forwarders. Bogus NS records supplied by the forwarders may be cached and used by name if it needs to recurse for any reason. This issue causes it to obtain and pass on potentially incorrect answers. This flaw allows a remote high privileged attacker to manipulate cache results with incorrect records, leading to queries made to the wrong servers, possibly resulting in false information received on the client's end.

Other sources

BIND 9.11.0 -> 9.11.36 9.12.0 -> 9.16.26 9.17.0 -> 9.18.0 BIND Supported Preview Editions: 9.11.4-S1 -> 9.11.36-S1 9.16.8-S1 -> 9.16.26-S1 Versions of BIND 9 earlier than those shown - back to 9.1.0, including Supported Preview Editions - are also believed to be affected but have not been tested as they are EOL. The cache could become poisoned with incorrect records leading to queries being made to the wrong servers, which might also result in false information being returned to clients.

When using forwarders, bogus NS records supplied by, or via, those forwarders may be cached and used by named if it needs to recurse for any reason, causing it to obtain and pass on potentially incorrect answers.

Some examples of configurations that will be vulnerable are:

Resolvers using per zone or global forwarding with forward first (forward first is the default). Resolvers not using global forwarding, but with per-zone forwarding with either forward first (the default) or forward only. Resolvers configured with global forwarding along with zone statements that disable forwarding for part of the DNS namespace.

Authoritative-only BIND 9 servers are not vulnerable to this flaw.

Red Hat

Affected Software

190 affected componentsFixes available
redhat/bind<32:9.11.4-26.P2.el7_9.13
32:9.11.4-26.P2.el7_9.13
redhat/bind9.16<32:9.16.23-0.9.el8.1
32:9.16.23-0.9.el8.1
redhat/bind<32:9.11.36-5.el8
32:9.11.36-5.el8
redhat/bind<32:9.16.23-5.el9_1
32:9.16.23-5.el9_1
redhat/dhcp<12:4.4.2-17.b1.el9
12:4.4.2-17.b1.el9
redhat/bind<9.11.37
9.11.37
redhat/bind<9.16.27
9.16.27
redhat/bind<9.18.1
9.18.1
ISC BIND>=9.11.0<9.11.37
ISC BIND>=9.11.4<9.11.37
ISC BIND>=9.12.0<9.16.27
ISC BIND>=9.16.8<9.16.27
ISC BIND>=9.17.0<=9.18.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
Siemens Sinec Ins<1.0
Siemens Sinec Ins=1.0
Siemens Sinec Ins=1.0-sp1
Juniper Junos<19.3
Juniper Junos=19.3
Juniper Junos=19.3-r1-s1
Juniper Junos=19.3-r2
Juniper Junos=19.3-r2-s1
Juniper Junos=19.3-r2-s2
Juniper Junos=19.3-r2-s3
Juniper Junos=19.3-r2-s4
Juniper Junos=19.3-r2-s5
Juniper Junos=19.3-r2-s6
Juniper Junos=19.3-r2-s7
Juniper Junos=19.3-r3
Juniper Junos=19.3-r3-s1
Juniper Junos=19.3-r3-s2
Juniper Junos=19.3-r3-s3
Juniper Junos=19.3-r3-s4
Juniper Junos=19.3-r3-s5
Juniper Junos=19.3-r3-s6
Juniper Junos=19.4
Juniper Junos=19.4-r1
Juniper Junos=19.4-r1-s1
Juniper Junos=19.4-r1-s2
Juniper Junos=19.4-r1-s3
Juniper Junos=19.4-r1-s4
Juniper Junos=19.4-r2
Juniper Junos=19.4-r2-s1
Juniper Junos=19.4-r2-s2
Juniper Junos=19.4-r2-s3
Juniper Junos=19.4-r2-s4
Juniper Junos=19.4-r2-s5
Juniper Junos=19.4-r2-s6
Juniper Junos=19.4-r2-s7
Juniper Junos=19.4-r3
Juniper Junos=19.4-r3-s1
Juniper Junos=19.4-r3-s2
Juniper Junos=19.4-r3-s3
Juniper Junos=19.4-r3-s4
Juniper Junos=19.4-r3-s5
Juniper Junos=19.4-r3-s6
Juniper Junos=19.4-r3-s7
Juniper Junos=19.4-r3-s8
Juniper Junos=20.2
Juniper Junos=20.2-r1
Juniper Junos=20.2-r1-s1
Juniper Junos=20.2-r1-s2
Juniper Junos=20.2-r1-s3
Juniper Junos=20.2-r2
Juniper Junos=20.2-r2-s1
Juniper Junos=20.2-r2-s2
Juniper Junos=20.2-r2-s3
Juniper Junos=20.2-r3
Juniper Junos=20.2-r3-s1
Juniper Junos=20.2-r3-s2
Juniper Junos=20.2-r3-s3
Juniper Junos=20.2-r3-s4
Juniper Junos=20.3
Juniper Junos=20.3-r1
Juniper Junos=20.3-r1-s1
Juniper Junos=20.3-r1-s2
Juniper Junos=20.3-r2
Juniper Junos=20.3-r2-s1
Juniper Junos=20.3-r3
Juniper Junos=20.3-r3-s1
Juniper Junos=20.3-r3-s2
Juniper Junos=20.3-r3-s3
Juniper Junos=20.3-r3-s4
Juniper Junos=20.4
Juniper Junos=20.4-r1
Juniper Junos=20.4-r1-s1
Juniper Junos=20.4-r2
Juniper Junos=20.4-r2-s1
Juniper Junos=20.4-r2-s2
Juniper Junos=20.4-r3
Juniper Junos=20.4-r3-s1
Juniper Junos=20.4-r3-s2
Juniper Junos=20.4-r3-s3
Juniper Junos=20.4-r3-s4
Juniper Junos=21.1
Juniper Junos=21.1-r1
Juniper Junos=21.1-r1-s1
Juniper Junos=21.1-r2
Juniper Junos=21.1-r2-s1
Juniper Junos=21.1-r2-s2
Juniper Junos=21.1-r3
Juniper Junos=21.1-r3-s1
Juniper Junos=21.1-r3-s2
Juniper Junos=21.2
Juniper Junos=21.2-r1
Juniper Junos=21.2-r1-s1
Juniper Junos=21.2-r1-s2
Juniper Junos=21.2-r2
Juniper Junos=21.2-r2-s1
Juniper Junos=21.2-r2-s2
Juniper Junos=21.2-r3
Juniper Junos=21.2-r3-s1
Juniper Junos=21.3
Juniper Junos=21.3-r1
Juniper Junos=21.3-r1-s1
Juniper Junos=21.3-r1-s2
Juniper Junos=21.3-r2
Juniper Junos=21.3-r2-s1
Juniper Junos=21.3-r2-s2
Juniper Junos=21.3-r3
Juniper Junos=21.4
Juniper Junos=21.4-r1
Juniper Junos=21.4-r1-s1
Juniper Junos=21.4-r1-s2
Juniper Junos=21.4-r2
Juniper Junos=22.1-r1
Juniper Junos=22.1-r1-s1
Juniper Junos=22.2-r1
Juniper SRX100
Juniper SRX110
Juniper SRX1400
Juniper SRX1500
Juniper SRX210
Juniper SRX220
Juniper SRX240
Juniper Srx240h2
Juniper SRX240m
Juniper SRX300
Juniper SRX320
Juniper SRX340
Juniper SRX3400
Juniper SRX345
Juniper SRX3600
Juniper Srx380
Juniper SRX4000
Juniper SRX4100
Juniper SRX4200
Juniper SRX4600
Juniper SRX5000
Juniper SRX5400
Juniper SRX550
Juniper Srx550 Hm
Juniper SRX550m
Juniper SRX5600
Juniper SRX5800
Juniper SRX650
NetApp Baseboard Management Controller H300s Firmware
NetApp Baseboard Management Controller H300s
NetApp Baseboard Management Controller H500s Firmware
NetApp Baseboard Management Controller H500s
NetApp Baseboard Management Controller H700s Firmware
NetApp Baseboard Management Controller H700s
NetApp Baseboard Management Controller H300e Firmware
NetApp Baseboard Management Controller H300e
NetApp Baseboard Management Controller H500e Firmware
NetApp Baseboard Management Controller H500e
NetApp Baseboard Management Controller H700e Firmware
NetApp Baseboard Management Controller H700e
NetApp Baseboard Management Controller H410s Firmware
NetApp Baseboard Management Controller H410s
NetApp Baseboard Management Controller H410c Firmware
NetApp Baseboard Management Controller H410c

Remediation

Information

If applicable, modify your configuration to either remove all forwarding or all possibility of recursion. Depending on your use case, it may be possible to use other zone types to replace forward zones.

Information

Upgrade to the patched release most closely related to your current version of BIND: BIND 9.11.37 BIND 9.16.27 BIND 9.18.1 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9.11.37-S1 BIND 9.16.27-S1

Event History

Mar 16, 2022
CVE Published
12:00 AM
Data Sourced
via Red Hat·04:42 AM
DescriptionSeverityAffected Software
Mar 23, 2022
CVE Published
via MITRE·12:50 PM
Data Sourced
via MITRE·12:50 PM
RemedyDescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-25220?

CVE-2021-25220 is rated as high severity due to the potential for unauthorized access and exploitation of vulnerable BIND versions.

2

How do I fix CVE-2021-25220?

To fix CVE-2021-25220, upgrade to the latest patched version of BIND, which are 9.11.37, 9.16.27, or 9.18.1, depending on your distribution.

3

Which versions of BIND are affected by CVE-2021-25220?

CVE-2021-25220 affects BIND versions from 9.11.0 to 9.11.36, 9.12.0 to 9.16.26, and 9.17.0 to 9.18.0.

4

What are the recommended actions for users running vulnerable versions of BIND due to CVE-2021-25220?

Users running vulnerable versions should immediately apply updates or install the recommended patches to mitigate the risk associated with CVE-2021-25220.

5

Is CVE-2021-25220 being actively exploited in the wild?

While there are indicators of this vulnerability being targeted, it is advisable for users to implement updates to minimize security risks.

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