Live threats

All CVEs / Cloudflare

CVE-2021-3978Cloudflare Octorpki

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.1%
probability of exploitation in 30 days · percentile 2
Auth required
Yes
Published
Jan 29, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-269
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Octorpki.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/cloudflare/cfrpki < 1.4.2 1.4.2 go get github.com/cloudflare/cfrpki@v1.4.2
Go github.com/cloudflare/cfrpki < 1.4.2 1.4.2 go get github.com/cloudflare/cfrpki@v1.4.2

Per OSV / GitHub Advisories (GHSA-3pqh-p72c-fj85, GO-2022-0580). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cloudflareoctorpki< 1.4.2

Official sources

References

Links published by the sources. Open them with care.