UBUNTU-CVE-2021-3978

Source
https://ubuntu.com/security/CVE-2021-3978
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3978.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-3978
Related
Published
2025-01-29T10:15:00Z
Modified
2025-01-29T16:32:58Z
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

Ubuntu:22.04:LTS / cfrpki

Package

Name
cfrpki
Purl
pkg:deb/ubuntu/cfrpki@1.4.2-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*

1.2.2-1
1.3.0-1
1.4.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.2-1",
            "binary_name": "octorpki"
        },
        {
            "binary_version": "1.4.2-1",
            "binary_name": "octorpki-dbgsym"
        }
    ]
}