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

105 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
ubuntu/linux-aws<4.4.0-1082.86
4.4.0-1082.86
ubuntu/linux-azure<4.15.0-1103.114~14.04.1
4.15.0-1103.114~14.04.1
ubuntu/linux-lts-xenial<4.4.0-197.229~14.04.1
4.4.0-197.229~14.04.1
ubuntu/linux<4.4.0-197.229
4.4.0-197.229
ubuntu/linux-aws<4.4.0-1118.132
4.4.0-1118.132
ubuntu/linux-aws-hwe<4.15.0-1091.96~16.04.1
4.15.0-1091.96~16.04.1
ubuntu/linux-azure<4.15.0-1103.114~16.04.1
4.15.0-1103.114~16.04.1
ubuntu/linux-gcp<4.15.0-1091.104~16.04.1
4.15.0-1091.104~16.04.1
ubuntu/linux-hwe<4.15.0-129.132~16.04.1
4.15.0-129.132~16.04.1
ubuntu/linux-kvm<4.4.0-1084.93
4.4.0-1084.93
ubuntu/linux-oracle<4.15.0-1062.68~16.04.1
4.15.0-1062.68~16.04.1
ubuntu/linux-raspi2<4.4.0-1142.152
4.4.0-1142.152
ubuntu/linux-snapdragon<4.4.0-1146.156
4.4.0-1146.156
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1051.57
4.4.0-1051.57
ubuntu/linux-fips*
ubuntu/linux<4.15.0-129.132
4.15.0-129.132
ubuntu/linux-aws<4.15.0-1091.96
4.15.0-1091.96
ubuntu/linux-aws-5.4<5.4.0-1030.31~18.04.1
5.4.0-1030.31~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1103.114
4.15.0-1103.114
ubuntu/linux-azure-5.4<5.4.0-1032.33~18.04.1
5.4.0-1032.33~18.04.1
ubuntu/linux-dell300x<4.15.0-1010.14
4.15.0-1010.14
ubuntu/linux-gcp-4.15<4.15.0-1091.104
4.15.0-1091.104
ubuntu/linux-gcp-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gke-4.15<4.15.0-1077.82
4.15.0-1077.82
ubuntu/linux-gke-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1005.6
5.4.0-1005.6
ubuntu/linux-hwe-5.4<5.4.0-56.62~18.04.1
5.4.0-56.62~18.04.1
ubuntu/linux-kvm<4.15.0-1082.84
4.15.0-1082.84
ubuntu/linux-oracle<4.15.0-1062.68
4.15.0-1062.68
ubuntu/linux-oracle-5.4<5.4.0-1030.32~18.04.1
5.4.0-1030.32~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1023.26~18.04.1
5.4.0-1023.26~18.04.1
ubuntu/linux-raspi2<4.15.0-1077.82
4.15.0-1077.82
ubuntu/linux-snapdragon<4.15.0-1094.103
4.15.0-1094.103
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2034.35
4.15.0-2034.35
ubuntu/linux-azure-fips<4.15.0-2016.18
4.15.0-2016.18
ubuntu/linux-fips<4.15.0-1049.56
4.15.0-1049.56
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-56.62
5.4.0-56.62
ubuntu/linux-aws<5.4.0-1030.31
5.4.0-1030.31
ubuntu/linux-azure<5.4.0-1032.33
5.4.0-1032.33
ubuntu/linux-gcp<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-hwe-5.8<5.8.0-31.33~20.04.1
5.8.0-31.33~20.04.1
ubuntu/linux-kvm<5.4.0-1028.29
5.4.0-1028.29
ubuntu/linux-oem-5.6<5.6.0-1050.54
5.6.0-1050.54
ubuntu/linux-oracle<5.4.0-1030.32
5.4.0-1030.32
ubuntu/linux-raspi<5.4.0-1023.26
5.4.0-1023.26
ubuntu/linux-riscv<5.4.0-37.42
5.4.0-37.42
ubuntu/linux-raspi2*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
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 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
  13. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1082.86
  14. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.114~14.04.1
  15. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-197.229~14.04.1
  16. Upgrade

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

    Fixed in 4.4.0-197.229
  17. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1118.132
  18. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.96~16.04.1
  19. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.114~16.04.1
  20. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.104~16.04.1
  21. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-129.132~16.04.1
  22. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1084.93
  23. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1062.68~16.04.1
  24. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.4.0-1142.152
  25. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.4.0-1146.156
  26. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1051.57
  27. Upgrade

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

    Fixed in 4.15.0-129.132
  28. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.96
  29. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.31~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1103.114
  31. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1032.33~18.04.1
  32. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1010.14
  33. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.104
  34. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  35. Upgrade

    Upgrade ubuntu/linux-gke-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1077.82
  36. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  37. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1005.6
  38. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-56.62~18.04.1
  39. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1082.84
  40. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1062.68
  41. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32~18.04.1
  42. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.26~18.04.1
  43. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1077.82
  44. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1094.103
  45. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2034.35
  46. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2016.18
  47. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1049.56
  48. Upgrade

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

    Fixed in 5.4.0-56.62
  49. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.31
  50. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1032.33
  51. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32
  52. Upgrade

    Upgrade ubuntu/linux-hwe-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-31.33~20.04.1
  53. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1028.29
  54. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1050.54
  55. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.32
  56. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1023.26
  57. Upgrade

    Upgrade ubuntu/linux-riscv to a version that resolves this vulnerability.

    Fixed in 5.4.0-37.42
  58. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  59. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  60. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  61. Upgrade

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

    Fixed in :2021-04-05
  62. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.3
  63. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.3
  64. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0
  65. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1
  66. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch b38e7819cae946e2edf869e604
  67. 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 4, 2020
Data Sourced
02:33 PM
DescriptionSeverityAffected Software
Nov 13, 2020
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Nov 14, 2020
Exploit Published
via GitHub·08:53 AM
Nov 17, 2020
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·01:16 AM
Data Sourced
via MITRE·01:16 AM
DescriptionWeakness
Data Sourced
via OSV·02:15 AM
DescriptionSeverityAffected Software
Apr 1, 2021
Advisory Published
via OSV·12:00 AM
May 18, 2021
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Updated
12:15 PM
Affected Software
Dec 15, 2023
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Apr 29, 2024
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
Updated
via Android·12:00 AM
Affected Software
Aug 26, 2024
Updated
via Android·12:00 AM
Affected Software
Nov 21, 2024
Updated
via NVD·05:18 AM
Affected Software
Jun 17, 2026
Updated
via NVD·03:07 AM
Affected Software
Nov 12, 2026
Updated
via OSV·05:22 PM
Affected 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