cve.bz

CVE-2021-3978

5.5 mediumEPSS 0.1%

Medium (5.5) in cloudflare octorpki. EPSS 0.1% chance of exploitation in the next 30 days. Fixed in github.com/cloudflare/cfrpki 1.4.2.

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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.1% chance of exploitation in the next 30 days; higher than 3% of CVEs (scores of 2026-10-31)
CWE
CWE-269
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3pqh-p72c-fj85Gogithub.com/cloudflare/cfrpki<1.4.21.4.2
GO-2022-0580Gogithub.com/cloudflare/cfrpki<1.4.21.4.2

References

Check your stackJSON