CVE-2020-25705: High severity Linux Linux kernel vulnerability

Published Nov 4, 2020
·
Updated

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

Other sources

A flaw in the way reply ICMP packets are limited in the Linux kernel functionality was found that allows to quickly scan open UDP ports. This flaw allows an off-path remote user to effectively bypassing source port UDP randomization. The highest threat from this vulnerability is to confidentiality and possibly integrity, because software that relies on UDP source port randomization are indirectly affected as well.

As result of research work, Keyu Man reported that the ICMP rate limiter could be used by attackers to get useful signal (that for example could be used for the DNS poisoning attack). After considering what could be improved in kernel to prevent this, this patch suggested: https://github.com/torvalds/linux/commit/b38e7819cae946e2edf869e604

Red Hat

Affected Software

30 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.21.1.rt56.1158.el7
0:3.10.0-1160.21.1.rt56.1158.el7
redhat/kernel<0:3.10.0-1160.21.1.el7
0:3.10.0-1160.21.1.el7
redhat/kernel<0:3.10.0-693.87.1.el7
0:3.10.0-693.87.1.el7
redhat/kernel<0:3.10.0-957.76.1.el7
0:3.10.0-957.76.1.el7
redhat/kernel<0:3.10.0-1062.49.1.el7
0:3.10.0-1062.49.1.el7
redhat/kernel-rt<0:4.18.0-240.15.1.rt7.69.el8_3
0:4.18.0-240.15.1.rt7.69.el8_3
redhat/kernel<0:4.18.0-240.15.1.el8_3
0:4.18.0-240.15.1.el8_3
redhat/kernel<0:4.18.0-147.43.1.el8_1
0:4.18.0-147.43.1.el8_1
redhat/kernel-rt<0:4.18.0-193.46.1.rt13.96.el8_2
0:4.18.0-193.46.1.rt13.96.el8_2
redhat/kernel<0:4.18.0-193.46.1.el8_2
0:4.18.0-193.46.1.el8_2
redhat/kernel<5.10
5.10
Linux Linux kernel<5.10.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Google Android
Siemens RUGGEDCOM RM1224>=5.0<=6.4
Siemens SCALANCE M-800>=5.0<=6.4
Siemens SCALANCE S615>=5.0<=6.4
Siemens SCALANCE SC-600<2.1.3
2.1.3
Siemens SCALANCE W1750D=8.3.0.1, =8.6.0, =8.7.0
Siemens SIMATIC MV500 Family
Siemens SIMATIC CP 1243-7 LTE EU>=3.1.39<3.3
3.3
Siemens SIMATIC CP 1243-7 LTE US>=3.1.39<3.3
3.3
Siemens SIMATIC CP 1242-7 GPRS V2>=3.1.39<3.3
3.3
Siemens SIMATIC CP 1542SP-1 IRC (incl. SIPLUS variants)>=2.0
Siemens SIMATIC CP 1542SP-1>=2.0
Siemens SIMATIC CP 1543-1 (incl. SIPLUS variants)<3.0
3.0
Siemens SIMATIC CP 1543SP-1 (incl SIPLUS variants)>=2.0
Siemens SIMATIC CP 1545-1<1.1
1.1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Remediation

Information

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

Event History

Nov 13, 2020
CVE Published
12:00 AM
Nov 17, 2020
CVE Published
via MITRE·01:16 AM
Data Sourced
via MITRE·01:16 AM
DescriptionWeakness
Apr 5, 2021
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:46 PM
Description
Apr 20, 2025
Data Sourced
via Ubuntu·04:20 AM
RemedyDescriptionSeverityAffected Software
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-2020-25705?

The severity of CVE-2020-25705 is classified as medium, given its potential for remote exploitation.

2

How do I fix CVE-2020-25705?

To fix CVE-2020-25705, upgrade to the patched kernel versions provided in the security advisories from your Linux distribution.

3

Which Linux distributions are affected by CVE-2020-25705?

CVE-2020-25705 primarily affects Red Hat Enterprise Linux and related distributions, including various versions of the Linux kernel.

4

Can CVE-2020-25705 be exploited remotely?

Yes, CVE-2020-25705 can be exploited by an off-path remote attacker to bypass UDP source port randomization.

5

What impact does CVE-2020-25705 have on applications using UDP?

Applications that rely on UDP source port randomization are indirectly affected by CVE-2020-25705, potentially exposing them to scanning or probing by attackers.

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