cbcvebase.
CVE-2021-3978
published 2025-01-29

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…

PriorityP426medium5.5CVSS 3.1
AVLACLPRLUINSUCNIHAN
EPSS
0.14%
3.9th percentile
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.

Affected

4 ranges
VendorProductVersion rangeFixed in
cloudflareoctorpki< v1.4.2v1.4.2
cloudflareoctorpki< 1.4.21.4.2
debiancfrpki< cfrpki 1.4.2-1 (bookworm)cfrpki 1.4.2-1 (bookworm)
github.comcloudflare_cfrpki>= 0 < 1.4.21.4.2

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
osv5.5MEDIUM
vendor_debian7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.