Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | Octorpki | < 1.4.2 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2021-3978?
CVE-2021-3978 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2021-3978?
CVE-2021-3978 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3978?
Check the references section above for vendor advisories and patch information. Affected products include: Cloudflare Octorpki.