cve.bz

CVE-2021-3571 Out-of-bounds Read

7.1 highEPSS 1.8%Fix available

High (7.1). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the ptp4l program of the linuxptp package. When ptp4l is operating on a little-endian architecture as a PTP transparent clock, a remote attacker could send a crafted one-step sync message to cause an information leak or crash. The highest threat from this vulnerability is to data confidentiality and system availability. This flaw affects linuxptp versions before 3.1.1 and before 2.0.1.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
EPSS
1.8% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3571 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3571?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3571?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3571 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxptp_project:linuxptpbefore 2.0.1
linuxptp_project:linuxptpfrom 3.0 before 3.1.1
redhat:enterprise_linux8.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linuxptp3.1-2.1DEBIAN-CVE-2021-3571
Red Hatenterprise_linux:8::appstreamlinuxptp, linuxptp-debuginfo, linuxptp-debugsource0:3.1.1-1.el8RHSA-2021:4321
AlmaLinux8linuxptp3.1.1-1.el8ALSA-2021:4321
Rocky Linux8linuxptp0:3.1.1-1.el8RLSA-2021:4321

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw has been rated as having a Moderate impact. The information leak is probably not very useful on its own as `ptp4l` doesn't handle any confidential data like passwords or private keys.

Red Hat's mitigation

Only attackers that can connect to the `ptp4l` service can exploit this vulnerability. If `ptp4l` is bound only to a private network interface, or is protected by firewall rules to block incoming PTP management messages, the attack surface is correspondingly limited. When using the UDP IPv4 or IPv6 network transport, the following tcpdump filter can be used to detect PTP management messages:

```

(port 319 or port 320) and udp[8]&0xf=0xd

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8linuxptp-0:3.1.1-1.el8Fixed 2021-11-09RHSA-2021:4321
Red Hat Enterprise Linux 6linuxptpNot affected
Red Hat Enterprise Linux 7linuxptpOut of support scope
Red Hat Enterprise Linux 9linuxptpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3571.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON