CVE-2021-3978CWE-269

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

High · published January 29, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
3.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00144 · 3.4th percentile
Weakness
CWE-269 · Improper Privilege Management
Published
2025-01-29T10:00Z
EPSS history
Timeline
  • 29 JAN 10:00Z
    Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki
    cvelistv5