CVE-2021-3978

MEDIUM CVSS 3.1: 5.5 EPSS 0.14%
Updated Jul 29, 2025
Cloudflare
Parameter Value
CVSS 5.5 (MEDIUM)
Affected Versions before 1.4.2
Fixed In 1.4.2
Type CWE-269 (Improper Privilege Management)
Vendor Cloudflare
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Cloudflare Octorpki
cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*
— 1.4.2