CVE-2021-3978 Details
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.
A local privilege escalation vulnerability exists in Cloudflare Octorpki versions prior to 1.4.0. The issue arises because Octorpki, when copying files with rsync, improperly uses the '-a' flag, which transfers binaries with the SUID bit set as root. This misconfiguration, combined with another vulnerability that leads Octorpki to process a malicious TAL file, could create a vector for local privilege escalation.
Users can upgrade to Octorpki version 1.4.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3pqh-p72c-fj85 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-269 | Improper Privilege Management | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cloudflare octorpki | < 1.4.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2025 | Initial Analysis | [email protected] |
| Jan 29, 2025 | New CVE Received | [email protected] |