{"id":"UBUNTU-CVE-2021-3978","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.","modified":"2025-07-16T07:55:39.298112Z","published":"2025-01-29T10:15:00Z","withdrawn":"2025-07-18T16:46:31Z","upstream":["CVE-2021-3978"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3978"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3978"},{"type":"REPORT","url":"https://github.com/cloudflare/cfrpki/security/advisories/GHSA-3pqh-p72c-fj85"}],"affected":[{"package":{"name":"cfrpki","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cfrpki@1.4.2-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.2-1"}]}],"versions":["1.2.2-1","1.3.0-1","1.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"octorpki","binary_version":"1.4.2-1"},{"binary_name":"octorpki-dbgsym","binary_version":"1.4.2-1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3978.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}