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

In icmpglobalallow of icmp.c, there is a possible disclosure of UDP source ports due to a side channel information disclosure. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

Affected Software

31 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
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
Google Android
android/:linux_kernel:>=:0<:2021-04-05
:2021-04-05

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.21.1.rt56.1158.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.21.1.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.87.1.el7
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-957.76.1.el7
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1062.49.1.el7
  6. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.15.1.rt7.69.el8_3
  7. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.15.1.el8_3
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-147.43.1.el8_1
  9. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.46.1.rt13.96.el8_2
  10. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.46.1.el8_2
  11. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.10
  12. Upgrade

    Upgrade Siemens SCALANCE SC-600 family to a version that resolves this vulnerability.

    Fixed in 2.1.3
  13. Upgrade

    Upgrade Siemens SIMATIC NET CP 1243-7 LTE EU to a version that resolves this vulnerability.

    Fixed in 3.3
  14. Upgrade

    Upgrade Siemens SIMATIC NET CP 1243-7 LTE US to a version that resolves this vulnerability.

    Fixed in 3.3
  15. Upgrade

    Upgrade Siemens Simatic CP 1242-7 GPRS Firmware to a version that resolves this vulnerability.

    Fixed in 3.3
  16. Upgrade

    Upgrade Siemens SIMATIC NET CP 1543-1 to a version that resolves this vulnerability.

    Fixed in 3.0
  17. Upgrade

    Upgrade Siemens SIMATIC NET CP 1545-1 to a version that resolves this vulnerability.

    Fixed in 1.1
  18. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1
  19. Upgrade

    Upgrade android/:linux_kernel: to a version that resolves this vulnerability.

    Fixed in :2021-04-05
  20. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch b38e7819cae946e2edf869e604
  21. Configuration

    Drop ICMP destination-unreachable messages, for example with `iptables -I OUTPUT -p icmp --icmp-type destination-unreachable -j DROP`, then persist the rule with `service iptables save`. This rule is not recommended when the host is an IP forwarder/router.

    Linux firewall ICMP destination-unreachable replies = disabled

Event History

Nov 13, 2020
CVE Published
12:00 AM
Nov 14, 2020
Exploit Published
via GitHub·08:53 AM
Nov 17, 2020
CVE Published
via MITRE·01:16 AM
Data Sourced
via MITRE·01:16 AM
DescriptionWeakness
Apr 1, 2021
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Apr 5, 2021
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software

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