CVE-2021-3978

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3978
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3978.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3978
Aliases
Related
Published
2025-01-29T10:15:07Z
Modified
2025-01-31T13:42:53.944023Z
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

Debian:11 / cfrpki

Package

Name
cfrpki
Purl
pkg:deb/debian/cfrpki?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.2-1~deb11u1

Affected versions

1.*

1.2.2-1
1.3.0-1
1.4.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / cfrpki

Package

Name
cfrpki
Purl
pkg:deb/debian/cfrpki?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}