CVE-2021-3978
CVE-2021-3978 is a high-severity vulnerability in Cloudflare Octorpki with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-269.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 0% (4th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2021-2286
- Weakness: CWE-269
- Affected product: Cloudflare Octorpki
- Published:
- Last modified:
Description
When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root ( https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service ) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.
Frequently asked questions
- What is CVE-2021-3978?
- When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root ( https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service ) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.
- How severe is CVE-2021-3978?
- CVE-2021-3978 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over local access with high attack complexity, requires low privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-3978 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (4th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-3978?
- CVE-2021-3978 affects Cloudflare Octorpki. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-3978?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2021-3978 have an EU (EUVD) identifier?
- Yes. CVE-2021-3978 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-2286.
- When was CVE-2021-3978 published?
- CVE-2021-3978 was published on 2025-01-29 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*
More vulnerabilities in Cloudflare Octorpki
- CVE-2021-3761 — High (CVSS 7.5): Any CA issuer in the RPKI can trick OctoRPKI prior to 1.3.0 into emitting an invalid VRP "MaxLength" value, causing RTR…
- CVE-2021-3907 — High (CVSS 7.4): OctoRPKI does not escape a URI with a filename containing "..", this allows a repository to create a file, (ex.…
- CVE-2021-3908 — Medium (CVSS 5.9): OctoRPKI does not limit the depth of a certificate chain, allowing for a CA to create children in an ad-hoc fashion,…
- CVE-2022-3616 — Medium (CVSS 5.4): Attackers can create long chains of CAs that would lead to OctoRPKI exceeding its max iterations parameter. In…
- CVE-2021-3910 — Medium (CVSS 4.4): OctoRPKI crashes when encountering a repository that returns an invalid ROA (just an encoded NUL (\0) character).
- CVE-2021-3909 — Medium (CVSS 4.4): OctoRPKI does not limit the length of a connection, allowing for a slowloris DOS attack to take place which makes…
All CVEs affecting Cloudflare Octorpki →
Other CWE-269 (Improper Privilege Management) vulnerabilities
- CVE-2026-31852 — Critical (CVSS 10.0): Jellyfin is an open-source media system. The code-quality.yml GitHub Actions workflow in jellyfin/jellyfin-ios is…
- CVE-2025-20282 — Critical (CVSS 10.0): A vulnerability in an internal API of Cisco ISE and Cisco ISE-PIC could allow an unauthenticated, remote attacker to…
- CVE-2025-0505 — Critical (CVSS 10.0): On Arista CloudVision systems (virtual or physical on-premise deployments), Zero Touch Provisioning can be used to gain…
- CVE-2023-48418 — Critical (CVSS 10.0): In checkDebuggingDisallowed of DeviceVersionFragment.java, there is a possible way to access adb before SUW…
- CVE-2023-48419 — Critical (CVSS 10.0): An attacker in the wifi vicinity of a target Google Home can spy on the victim, resulting in Elevation of Privilege
- CVE-2023-31273 — Critical (CVSS 10.0): Protection mechanism failure in some Intel DCM software before version 5.2 may allow an unauthenticated user to…
Browse all CWE-269 (Improper Privilege Management) vulnerabilities →