Security mailing lists by PureSourceCode

CVE-2021-3978

MEDIUM 5.5CVSS 3.1

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

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.

Published
29 Jan 2025
Last modified
17 Jun 2026
Assigned by
cna@cloudflare.com
NVD status
Analyzed
Weakness
CWE-269CWE-281
Also known as
GHSA-3pqh-p72c-fj85GO-2022-0580
Sources
NVDJSONOSV GHSA-3pqh-p72c-fj85JSONOSV GO-2022-0580JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@cloudflare.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cloudflare octorpki
cpe:2.3:a:cloudflare:octorpki:*:*:*:*:*:*:*:*
< 1.4.2 1.4.2
OSV Go github.com/cloudflare/cfrpki < 1.4.2 1.4.2

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 29 Jan 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Nov 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.