CVE-2021-3978 — Improper Privilege Management in Octorpki
Severity
5.5MEDIUMNVD
CNA7.5
EPSS
0.1%
top 78.62%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 29
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitability: 1.8 | Impact: 3.6
Affected Packages3 packages
🔴Vulnerability Details
5📋Vendor Advisories
1Debian▶
CVE-2021-3978: cfrpki - When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync...↗2021