7.4
CWE
330
Advisory Published
CVE Published
CVE Published
Updated

CVE-2020-25705

First published: Wed Nov 04 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

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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 Kernel<5.10.0
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
debian/linux
5.10.223-1
5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.15-1
Siemens Ruggedcom RM1224 LTE(4G) EU>=5.0<=6.4
Siemens Scalance M-800 Firmware>=5.0<=6.4
Siemens SCALANCE S615 firmware>=5.0<=6.4
Siemens SCALANCE SC-600<2.1.3
2.1.3
Siemens Scalance W1750D Firmware=8.3.0.1=8.6.0=8.7.0
Siemens SIMATIC MV500 Family
Siemens SIMATIC NET CP 1243-7 LTE EU>=3.1.39<3.3
3.3
Siemens SIMATIC NET CP 1243-7 LTE US>=3.1.39<3.3
3.3
Siemens Simatic CP 1242-7 GPRS Firmware>=3.1.39<3.3
3.3
Siemens SIMATIC NET CP 1542SP-1 IRC (incl. SIPLUS variants) (6GK7243-8RX30-0XE0)>=2.0
Siemens SIMATIC NET CP 1542SP-1>=2.0
Siemens SIMATIC NET CP 1543-1<3.0
3.0
Siemens SIMATIC NET CP 1543SP-1 (incl. SIPLUS variants)>=2.0
Siemens SIMATIC NET CP 1545-1<1.1
1.1
Android

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2020-25705?

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

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203