CVE-2021-3978
published high CVSS 3.1 · 7.5Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cloudflare | — | octorpki0 to < v1.4.2 · Other versions: unaffected · Platforms: Go | Affected | Not stated | cloudflare |
| Debian | bullseye | cfrpki | Advisory build | 1.4.2-1~deb11u1 | DSA-5041-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- cloudflare · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cloudflare | octorpki | 0 to < v1.4.2 (affected · semver)Default: unaffected | cloudflare · cna |
Weaknesses
1- CWE-269 CWE-269 Improper Privilege Management
References
1Provider assertions
2cloudflare · cna
Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 58c2df8a54ebe44655006189fcef41f34b5017942ba9b4ec14b4fd704ed843ea
- Ingested
- 23 Sep 2026, 07:55:59 UTC
- Source record
- Official CVE record