Buffer overflow in linuxptp - CVE-2021-3570

 

Buffer overflow in linuxptp - CVE-2021-3570

Published: July 6, 2021


Vulnerability identifier: #VU54573
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3570
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when forwarding PTP messages between ports in ptp41 program. A remote attacker can send specially crafted messages to the application, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

linuxptp
linuxptp (Debian package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
linuxptp (Ubuntu package)
linuxptp
linuxptp-debuginfo
linuxptp-debugsource
linuxptp (Red Hat package)
linuxptp-help
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
HPE Helion Openstack
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
Ubuntu
openEuler
Fedora
Red Hat OpenShift Container Platform

How to mitigate CVE-2021-3570

Install updates from vendor's website.

linuxptp - addressed in versions 1.5.1, 1.6.1, 1.7.1, 1.8.1, 1.9.3, 2.0.1, 3.1.1
linuxptp (Debian package) - update to 1.9.2-1+deb10u1
Red Hat OpenShift Container Platform - update to 4.6.38
linuxptp (Ubuntu package) - addressed in versions Ubuntu Pro, 1.8-1ubuntu0.1, 1.9.2-1ubuntu0.1
linuxptp - addressed in versions 1.4-15.3.1, 1.8+git65.g303b08c-3.3.1, 3.1.1-3.3.1
linuxptp-debuginfo - addressed in versions 1.4-15.3.1, 1.8+git65.g303b08c-3.3.1, 3.1.1-3.3.1
linuxptp-debugsource - addressed in versions 1.4-15.3.1, 1.8+git65.g303b08c-3.3.1, 3.1.1-3.3.1
linuxptp (Red Hat package) - addressed in versions 2.0-2.el7_9.1, 2.0-4.el8_1.1, 2.0-4.el8_2.1, 2.0-5.el8_4.1
linuxptp - addressed in versions 2.0-4, 2.0-5
linuxptp - update to 2.0-5
linuxptp-debuginfo - update to 2.0-5
linuxptp-debugsource - update to 2.0-5
linuxptp-help - update to 2.0-5
linuxptp - addressed in versions 3.1.1-1.fc33, 3.1.1-1.fc34

External References

Related Security Bulletins