Vulnerability Details 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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 2.5%
CVSS Severity
CVSS v3 Score 7.5
Products affected by CVE-2021-3978
-
cpe:2.3:a:cloudflare:octorpki:-
-
cpe:2.3:a:cloudflare:octorpki:1.0.0
-
cpe:2.3:a:cloudflare:octorpki:1.0.1
-
cpe:2.3:a:cloudflare:octorpki:1.0.2
-
cpe:2.3:a:cloudflare:octorpki:1.0.3
-
cpe:2.3:a:cloudflare:octorpki:1.1.0
-
cpe:2.3:a:cloudflare:octorpki:1.1.1
-
cpe:2.3:a:cloudflare:octorpki:1.1.2
-
cpe:2.3:a:cloudflare:octorpki:1.1.3
-
cpe:2.3:a:cloudflare:octorpki:1.1.4
-
cpe:2.3:a:cloudflare:octorpki:1.2.0
-
cpe:2.3:a:cloudflare:octorpki:1.2.1
-
cpe:2.3:a:cloudflare:octorpki:1.2.2
-
cpe:2.3:a:cloudflare:octorpki:1.3.0
-
cpe:2.3:a:cloudflare:octorpki:1.4.0
-
cpe:2.3:a:cloudflare:octorpki:1.4.1