Upstream information

CVE-2020-25685 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 3.7 5.4
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Access Vector Network Network
Access Complexity High High
Privileges Required None None
User Interaction None None
Scope Unchanged Changed
Confidentiality Impact None Low
Integrity Impact Low Low
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1177077 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
HPE-Helion-OpenStack-8-2021-166
SUSE Enterprise Storage 5
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-Storage-5-2021-166
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • dnsmasq >= 2.78-3.11.1
Patchnames:
SUSE-SLE-Product-HPC-15-2021-162
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • dnsmasq >= 2.78-7.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2021-163
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • dnsmasq >= 2.78-7.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-163
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • dnsmasq-utils >= 2.78-7.6.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2021-163
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • dnsmasq-utils >= 2.78-7.6.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2021-163
SUSE Linux Enterprise Point of Sale 11 SP3
  • dnsmasq >= 2.78-0.16.14.1
Patchnames:
sleposp3-dnsmasq-14604
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2021-166
SUSE Linux Enterprise Server 11 SP4-LTSS
  • dnsmasq >= 2.78-0.17.15.1
Patchnames:
slessp4-dnsmasq-14603
SUSE Linux Enterprise Server 12 SP2-BCL
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2021-166
SUSE Linux Enterprise Server 12 SP2-ESPOS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2021-166
SUSE Linux Enterprise Server 12 SP2-LTSS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2021-166
SUSE Linux Enterprise Server 12 SP3-BCL
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2021-166
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2021-166
SUSE Linux Enterprise Server 12 SP3-LTSS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2021-166
SUSE Linux Enterprise Server 12 SP4-ESPOS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-ESPOS-2021-166
SUSE Linux Enterprise Server 12 SP4-LTSS
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-LTSS-2021-166
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2021-166
SUSE Linux Enterprise Server 15-LTSS
  • dnsmasq >= 2.78-3.11.1
Patchnames:
SUSE-SLE-Product-SLES-15-2021-162
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2021-166
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2021-166
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • dnsmasq >= 2.78-18.15.1
Patchnames:
SUSE-SLE-SAP-12-SP4-2021-166
SUSE Linux Enterprise Server for SAP Applications 15
  • dnsmasq >= 2.78-3.11.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2021-162
SUSE OpenStack Cloud 7
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
SUSE-OpenStack-Cloud-7-2021-166
SUSE OpenStack Cloud 8
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
SUSE-OpenStack-Cloud-8-2021-166
SUSE OpenStack Cloud 9
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
SUSE-OpenStack-Cloud-9-2021-166
SUSE OpenStack Cloud Crowbar 8
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2021-166
SUSE OpenStack Cloud Crowbar 9
  • dnsmasq >= 2.78-18.15.1
  • dnsmasq-utils >= 2.78-18.15.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2021-166
openSUSE Leap 15.1
  • dnsmasq >= 2.78-lp151.5.6.1
  • dnsmasq-debuginfo >= 2.78-lp151.5.6.1
  • dnsmasq-debugsource >= 2.78-lp151.5.6.1
  • dnsmasq-utils >= 2.78-lp151.5.6.1
  • dnsmasq-utils-debuginfo >= 2.78-lp151.5.6.1
Patchnames:
openSUSE-2021-129
openSUSE Leap 15.2
  • dnsmasq >= 2.78-lp152.7.3.1
  • dnsmasq-debuginfo >= 2.78-lp152.7.3.1
  • dnsmasq-debugsource >= 2.78-lp152.7.3.1
  • dnsmasq-utils >= 2.78-lp152.7.3.1
  • dnsmasq-utils-debuginfo >= 2.78-lp152.7.3.1
Patchnames:
openSUSE-2021-124


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 dnsmasq Released
SUSE CaaS Platform 4.0 dnsmasq Released
SUSE Enterprise Storage 5 dnsmasq Released
SUSE Enterprise Storage 6 dnsmasq Released
SUSE Linux Enterprise High Performance Computing 12 SP5 dnsmasq Released
SUSE Linux Enterprise High Performance Computing 15 LTSS dnsmasq Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS dnsmasq Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 dnsmasq Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 dnsmasq Released
SUSE Linux Enterprise Point of Service 11 SP3 dnsmasq Released
SUSE Linux Enterprise Point of Service Image Server 12 dnsmasq Released
SUSE Linux Enterprise Server 11 SP4 LTSS dnsmasq Released
SUSE Linux Enterprise Server 12 SP2 BCL dnsmasq Released
SUSE Linux Enterprise Server 12 SP2 ESPOS dnsmasq Released
SUSE Linux Enterprise Server 12 SP2 LTSS dnsmasq Released
SUSE Linux Enterprise Server 12 SP3 BCL dnsmasq Released
SUSE Linux Enterprise Server 12 SP3 ESPOS dnsmasq Released
SUSE Linux Enterprise Server 12 SP3 LTSS dnsmasq Released
SUSE Linux Enterprise Server 12 SP4 ESPOS dnsmasq Released
SUSE Linux Enterprise Server 12 SP4 LTSS dnsmasq Released
SUSE Linux Enterprise Server 12 SP5 dnsmasq Released
SUSE Linux Enterprise Server 15 LTSS dnsmasq Released
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux dnsmasq Released
SUSE Linux Enterprise Server 15 SP1 LTSS dnsmasq Released
SUSE Linux Enterprise Server ESPOS 15 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 15 dnsmasq Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 dnsmasq Released
SUSE Manager Proxy 4.0 dnsmasq Released
SUSE Manager Retail Branch Server 4.0 dnsmasq Released
SUSE Manager Server 4.0 dnsmasq Released
SUSE OpenStack Cloud 6 LTSS dnsmasq Unsupported
SUSE OpenStack Cloud 7 dnsmasq Released
SUSE OpenStack Cloud 8 dnsmasq Released
SUSE OpenStack Cloud 9 dnsmasq Released
SUSE OpenStack Cloud Crowbar 8 dnsmasq Released
SUSE OpenStack Cloud Crowbar 9 dnsmasq Released