CVE-2021-3978
Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki in github.com/cloudflare/cfrpki
7.5
HIGH
CVSS 3.1
EPSS 0.14%
描述
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.
如何修補 CVE-2021-3978
要修補 CVE-2021-3978,請將受影響套件升級到下列已修補版本。
- —升級至 1.4.2-1~deb11u1 或更新版本
- —升級至 1.4.2 或更新版本
- —升級至 1.4.2 或更新版本
CVE-2021-3978 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.4.2-1~deb11u1
- from 0, < 1.4.2
- from 0, < 1.4.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |