dnsmasq: loose query name check in reply_query() makes forging replies easier for an off-path attacker
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | dnsmasq | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
Configuration 4 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | |||
| dnsmasq-0:2.76-16.el7_9.1 | cpe:/o:redhat:enterprise_linux:7 | RHSA-2021:0153 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | |||
| dnsmasq-0:2.66-14.el7_2.3 | cpe:/o:redhat:rhel_aus:7.2 | RHSA-2021:0240 | 2021-01-25T00:00:00Z |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | |||
| dnsmasq-0:2.66-21.el7_3.3 | cpe:/o:redhat:rhel_aus:7.3 | RHSA-2021:0245 | 2021-01-25T00:00:00Z |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | |||
| dnsmasq-0:2.76-2.el7_4.3 | cpe:/o:redhat:rhel_aus:7.4 | RHSA-2021:0156 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | |||
| dnsmasq-0:2.76-2.el7_4.3 | cpe:/o:redhat:rhel_tus:7.4 | RHSA-2021:0156 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | |||
| dnsmasq-0:2.76-2.el7_4.3 | cpe:/o:redhat:rhel_e4s:7.4 | RHSA-2021:0156 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 7.6 Extended Update Support | |||
| dnsmasq-0:2.76-7.el7_6.2 | cpe:/o:redhat:rhel_eus:7.6 | RHSA-2021:0155 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 7.7 Extended Update Support | |||
| dnsmasq-0:2.76-10.el7_7.2 | cpe:/o:redhat:rhel_eus:7.7 | RHSA-2021:0154 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| dnsmasq-0:2.79-13.el8_3.1 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2021:0150 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 8.1 Extended Update Support | |||
| dnsmasq-0:2.79-6.el8_1.1 | cpe:/a:redhat:rhel_eus:8.1 | RHSA-2021:0152 | 2021-01-19T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Extended Update Support | |||
| dnsmasq-0:2.79-11.el8_2.2 | cpe:/a:redhat:rhel_eus:8.2 | RHSA-2021:0151 | 2021-01-19T00:00:00Z |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | |||
| redhat-virtualization-host-0:4.3.13-20210127.0.el7_9 | cpe:/o:redhat:enterprise_linux:7::hypervisor | RHSA-2021:0395 | 2021-02-03T00:00:00Z |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | |||
| redhat-virtualization-host-0:4.4.4-20210201.0.el8_3 | cpe:/o:redhat:rhev_hypervisor:4.4::el8 | RHSA-2021:0401 | 2021-02-03T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-4844-1 | dnsmasq security update |
EUVD |
EUVD-2020-18347 | A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity. |
Ubuntu USN |
USN-4698-1 | Dnsmasq vulnerabilities |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 2.2% (2.227% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Inadequate Encryption Strength