CVE-2021-3978

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3978
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3978.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-3978
Aliases
Downstream
Published
2025-01-29T10:15:07.750Z
Modified
2025-11-14T12:15:34.523182Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cloudflare/cfrpki

Affected ranges

Type
GIT
Repo
https://github.com/cloudflare/cfrpki
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.0.3

v1.*

v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.0
v1.2.0-pre
v1.2.1
v1.2.2
v1.3.0
v1.4.0
v1.4.1