CVE-2021-3978
Last modified
CVE-2021-3978 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cloudflare | Octorpki | < 1.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-3978?
How severe is CVE-2021-3978?
How do I fix CVE-2021-3978?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39774In Bluetooth, there is a possible out of bounds read due to …5.5
- CVE-2021-39775In People, there is a possible way to determine whether an a…5.5
- CVE-2021-39776In NFC, there is a possible memory corruption due to a use a…7.8
- CVE-2021-39777In Telephony, there is a possible way to determine whether a…5.5
- CVE-2021-39778In Telecomm, there is a possible way to determine whether an…5.5
- CVE-2021-39779In getCallStateUsingPackage of Telecom Service, there is a m…5.5
- CVE-2021-39780In Traceur, there is a possible bypass of developer settings…7.8
- CVE-2021-39781In SmsController, there is a possible information disclosure…7.8
- CVE-2021-39782In Telephony, there is a possible unauthorized modification …7.8
- CVE-2021-39783In rcsservice, there is a possible way to modify TTY mode du…7.8
- CVE-2021-39784In CellBroadcastReceiver, there is a possible path to enable…7.8
- CVE-2021-39786In NFC, there is a possible out of bounds write due to a mis…6.7
Are you affected by CVE-2021-3978?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
