Memory corruption in linuxptp
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
A flaw was found in the ptp4l program of the linuxptp package. A missing length check when forwarding a PTP message between ports allows a remote attacker to cause an information leak, crash, or potentially remote code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. This flaw affects linuxptp versions before 3.1.1, before 2.0.1, before 1.9.3, before 1.8.1, before 1.7.1, before 1.6.1 and before 1.5.1.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | linuxptp | linuxptp 3.1.1, linuxptp 2.0.1, linuxptp 1.9.3, linuxptp 1.8.1, linuxptp 1.7.1, linuxptp 1.6.1, linuxptp 1.5.1 | — | No fix listed | CNA |
- linuxptp Vendor— Affected linuxptp 3.1.1, linuxptp 2.0.1, linuxptp 1.9.3, linuxptp 1.8.1, linuxptp 1.7.1, linuxptp 1.6.1, linuxptp 1.5.1 Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:linuxptp_project:linuxptp:*:*:*:*:*:*:*:* | before 1.5.1; 1.6.0 to before 1.6.1; 1.7.0 to before 1.7.1; 1.8.0 to before 1.8.1; 1.9.0 to before 1.9.3; 2.0.0 to before 2.0.1; 3.0.0 to before 3.1.1 | Vulnerable | Linuxptp Project |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_aus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_aus:8.4:*:*:*:*:*:*:* | 8.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* | 8.1 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:* | 8.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:* | 8.4 | Vulnerable | Red Hat |
- cpe:2.3:a:linuxptp_project:linuxptp:*:*:*:*:*:*:*:* Versions before 1.5.1; 1.6.0 to before 1.6.1; 1.7.0 to before 1.7.1; 1.8.0 to before 1.8.1; 1.9.0 to before 1.9.3; 2.0.0 to before 2.0.1; 3.0.0 to before 3.1.1 Vulnerable ·Linuxptp Project
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_aus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_aus:8.4:*:*:*:*:*:*:* Versions 8.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:* Versions 8.1 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_tus:8.2:*:*:*:*:*:*:* Versions 8.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_tus:8.4:*:*:*:*:*:*:* Versions 8.4 Vulnerable ·Red Hat
Show 3 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
Remediation
Red Hat 4 advisories
- RHSA-2021:2658 Released 2021-07-06 · Red Hat rating Importantlinuxptp security update
- Red Hat Enterprise Linux Client (v. 7) linuxptp-2.0-2.el7_9.1
- Red Hat Enterprise Linux Server (v. 7) linuxptp-2.0-2.el7_9.1
- Red Hat Enterprise Linux Workstation (v. 7) linuxptp-2.0-2.el7_9.1
- RHSA-2021:2660 Released 2021-07-06 · Red Hat rating Importantlinuxptp security update
- Red Hat Enterprise Linux AppStream (v. 8) linuxptp-2.0-5.el8_4.1
- RHSA-2021:2657 Released 2021-07-06 · Red Hat rating Importantlinuxptp security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) linuxptp-2.0-4.el8_2.1
Show 1 more Red Hat advisories
- RHSA-2021:2659 Released 2021-07-06 · Red Hat rating Importantlinuxptp security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.1) linuxptp-2.0-4.el8_1.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
linuxptp — FEDORA-2021-a5b584004c
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2021-02520 Memory corruption in linuxptpPriority LOW 35
- Advisory ·
linuxptp — FEDORA-2021-1b42c2f458
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2021-02520 Memory corruption in linuxptpPriority LOW 35
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:2660 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.1) | Fixed | RHSA-2021:2659 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2021:2657 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2021:2658 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:2658 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2021:2658 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3570
- 2026-10-03 Alias added: GHSA-rwc4-5qx3-qg4w
References
Sources
- CVE-2021-3570 · CVE Program
- CVE-2021-3570 · NVD
- FIRST EPSS
- GHSA-rwc4-5qx3-qg4w · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3570 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences