cfrpki — security advisory
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.
- Products
- cfrpki
- Affected versions
- Not specified
- Fixed versions
- 1.4.2-1
- CVEs
- CVE-2021-3978
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:39 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-3978
cfrpki
Fixed versions: 1.4.2-1
Complete source record
{
"id": "afc69c9ced08b8fb402dbb269029ce74f693e05e2c763493f07470ad1c10ef69",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3978",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-3978",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-3978",
"products": [
{
"name": {
"value": "cfrpki",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.2-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-3978",
"aliases": [
"DEBIAN-CVE-2021-3978"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.2-1"
}
]
}
],
"package": {
"name": "cfrpki",
"purl": "pkg:deb/debian/cfrpki?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3978.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:32.395148365Z",
"provider": "osv",
"upstream": [
"CVE-2021-3978"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-3978"
]
},
"related_cves": [
{
"value": "CVE-2021-3978",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 421845,
"published_at": "2025-01-29T10:15:07.75+00:00"
}