cve.bz

CVE-2020-25705 (SAD DNS) Use of Insufficiently Random Values

7.4 highEPSS 6.7%

Known as SAD DNS

High (7.4). EPSS 6.7% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw in ICMP packets in the Linux kernel may allow an attacker to quickly scan open UDP ports. This flaw allows an off-path remote attacker to effectively bypass source port UDP randomization. Software that relies on UDP source port randomization are indirectly affected as well on the Linux Based Products (RUGGEDCOM RM1224: All versions between v5.0 and v6.4, SCALANCE M-800: All versions between v5.0 and v6.4, SCALANCE S615: All versions between v5.0 and v6.4, SCALANCE SC-600: All versions prior to v2.1.3, SCALANCE W1750D: v8.3.0.1, v8.6.0, and v8.7.0, SIMATIC Cloud Connect 7: All versions, SIMATIC MV500 Family: All versions, SIMATIC NET CP 1243-1 (incl. SIPLUS variants): Versions 3.1.39 and later, SIMATIC NET CP 1243-7 LTE EU: Version

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
6.7% (unchanged from 6.7% a week ago; 6.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-330 Use of Insufficiently Random Values
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-25705 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25705?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25705?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-25705 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.10.0
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.246-1DLA-2494-1
Debian9linux-4.194.19.160-2~deb9u1DLA-2483-1
Debian12, 13, 14linux5.9.6-1DEBIAN-CVE-2020-25705
Ubuntu16.04:LTSlinux4.4.0-197.229UBUNTU-CVE-2020-25705 USN-4657-1
Ubuntu16.04:LTSlinux-aws4.4.0-1118.132UBUNTU-CVE-2020-25705 USN-4657-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1091.96~16.04.1UBUNTU-CVE-2020-25705 USN-4680-1
Ubuntu16.04:LTSlinux-azure4.15.0-1103.114~16.04.1UBUNTU-CVE-2020-25705 USN-4680-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1091.104~16.04.1UBUNTU-CVE-2020-25705 USN-4680-1
Ubuntu16.04:LTSlinux-hwe4.15.0-129.132~16.04.1UBUNTU-CVE-2020-25705 USN-4680-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-25705
Ubuntu16.04:LTSlinux-kvm4.4.0-1084.93UBUNTU-CVE-2020-25705 USN-4657-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1062.68~16.04.1UBUNTU-CVE-2020-25705 USN-4680-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1142.152UBUNTU-CVE-2020-25705 USN-4657-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1146.156UBUNTU-CVE-2020-25705 USN-4657-1
Ubuntu18.04:LTSlinux4.15.0-129.132UBUNTU-CVE-2020-25705 USN-4680-1
40 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:7::computenodeperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 5 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-1160.21.1.el7RHSA-2021:0856
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-240.15.1.el8_3RHSA-2021:0558
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-240.15.1.el8_3RHSA-2021:0558
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-240.15.1.rt7.69.el8_3RHSA-2021:0537
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-240.15.1.rt7.69.el8_3RHSA-2021:0537
Red Hatrhel_aus:7.4::server, rhel_tus:7.4::serverperf, kernel, kernel-doc and 14 more0:3.10.0-693.87.1.el7RHSA-2021:2164
Red Hatrhel_aus:7.6::server, rhel_tus:7.6::serverperf, kernel, bpftool and 15 more0:3.10.0-957.76.1.el7RHSA-2021:2355
Red Hatrhel_e4s:7.4::serverperf, kernel, kernel-doc and 16 more0:3.10.0-693.87.1.el7RHSA-2021:2164
Red Hatrhel_e4s:7.6::serverperf, kernel, bpftool and 17 more0:3.10.0-957.76.1.el7RHSA-2021:2355
Red Hatrhel_eus:7.7::computenodeperf, kernel, bpftool and 16 more0:3.10.0-1062.49.1.el7RHSA-2021:1531
8 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.135.1SUSE-SU-2020:3503-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_361-4.5.1SUSE-SU-2020:3503-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.146.1SUSE-SU-2020:3501-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.135.1SUSE-SU-2020:3503-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.65.1SUSE-SU-2020:3544-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.51.2SUSE-SU-2020:3326-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.54.1SUSE-SU-2020:3717-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.63.1SUSE-SU-2020:3532-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.72.1SUSE-SU-2020:3507-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.37.1SUSE-SU-2020:3273-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.63.1SUSE-SU-2020:3532-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_119-2.2SUSE-SU-2020:3670-1
67 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-docs, kernel-syms, kernel-debug and 6 more4.12.14-lp151.28.83.1openSUSE-SU-2020:2034-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.50.1.lp152.8.10.1openSUSE-SU-2020:2112-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.54.1.lp152.8.12.1openSUSE-SU-2020:2161-1
openSUSELeap 15.2kernel-docs5.3.18-lp152.54.2openSUSE-SU-2020:2161-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.50.1openSUSE-SU-2020:1906-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1
openSUSELeap 15.2kernel-syms, kernel-debug, kernel-obs-qa and 5 more5.3.18-lp152.54.1openSUSE-SU-2020:2161-1
openSUSETumbleweedsca-patterns-sle121.0.8-2.2openSUSE-SU-2024:11370-1
openSUSETumbleweedsca-patterns-sle151.0.8-2.2openSUSE-SU-2024:11371-1
AlmaLinux8kernel-tools-libs-devel4.18.0-240.15.1.el8_3ALSA-2021:0558

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is rated as having Moderate impact because of the attack scenario limitation. It is possible to harm the networking services only, but not for the overall system under attack, and impossible to get access to this remote system under attack.

Red Hat's mitigation

The mitigation is to disable ICMP destination unreachable messages.

The commands to disable UDP port unreachable ICMP reply messages:

iptables -I OUTPUT -p icmp --icmp-type destination-unreachable -j DROP

service iptables save

For additional information about "service iptables save" please read https://access.redhat.com/solutions/1597703

It is not recommended to apply this rule if host being used as forwarder (router) of IP packets.

Or it is possible to use this firewall-cmd instead of iptables and the result is similar:

firewall-cmd --permanent --direct --add-rule ipv4 filter OUTPUT 0 -p icmp --icmp-type destination-unreachable -j DROP

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-1160.21.1.rt56.1158.el7Fixed 2021-03-16RHSA-2021:0857
Red Hat Enterprise Linux 7kernel-0:3.10.0-1160.21.1.el7Fixed 2021-03-16RHSA-2021:0856
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportkernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionskernel-0:3.10.0-693.87.1.el7Fixed 2021-06-01RHSA-2021:2164
Red Hat Enterprise Linux 7.6 Advanced Update Supportkernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.6 Telco Extended Update Supportkernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.6 Update Services for SAP Solutionskernel-0:3.10.0-957.76.1.el7Fixed 2021-06-09RHSA-2021:2355
Red Hat Enterprise Linux 7.7 Extended Update Supportkernel-0:3.10.0-1062.49.1.el7Fixed 2021-05-11RHSA-2021:1531
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-240.15.1.rt7.69.el8_3Fixed 2021-02-16RHSA-2021:0537
Red Hat Enterprise Linux 8kernel-0:4.18.0-240.15.1.el8_3Fixed 2021-02-16RHSA-2021:0558
Red Hat Enterprise Linux 8.1 Extended Update Supportkernel-0:4.18.0-147.43.1.el8_1Fixed 2021-03-03RHSA-2021:0686
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-rt-0:4.18.0-193.46.1.rt13.96.el8_2Fixed 2021-03-09RHSA-2021:0774
Red Hat Enterprise Linux 8.2 Extended Update Supportkernel-0:4.18.0-193.46.1.el8_2Fixed 2021-03-09RHSA-2021:0765
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise MRG 2kernel-rtOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-25705.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-074-07Siemens SIMATIC2024-03-14Critical ManufacturingSiemens SIMATIC RF160B (6GT2003-0FA00): <V2.2none listed
ICSA-21-131-03Siemens Linux-based Products (Update J)2021-05-11MultipleRUGGEDCOM RM1224 family (6GK6108-4AM00), SCALANCE M-800 family, SCALANCE S615 (6GK5615-0AA00-2AA2) and 29 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-485 Signature Spoofing by Key Recreation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON