CVE-2021-3978

published 29 Jan 2025 · updated 12 Feb 2025

Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in v1.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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Cloudflare<v1.4.2v1.4.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3978 severity on Zeptric[![CVE-2021-3978](https://zeptric.io/badge/cve/CVE-2021-3978.svg)](https://zeptric.io/cve/CVE-2021-3978)