Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-3978— Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki

Quick assessment

Affected
Cloudflare octorpki
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cloudflare OctoRPKI是美国Cloudflare公司的Cloudflare平台的RPKI工具箱。 Cloudflare OctoRPKI v1.4.0之前版本存在安全漏洞,该漏洞源于使用rsync复制文件时使用的-a标志为0,这会强制rsync以root身份复制设置了suid位的二进制文件。

CVSS 7.5 · High EPSS 0.14% · P3

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-3978

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Preservation of Permissions in github.com/cloudflare/cfrpki/cmd/octorpki
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
特权管理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Cloudflare OctoRPKI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cloudflare OctoRPKI是美国Cloudflare公司的Cloudflare平台的RPKI工具箱。 Cloudflare OctoRPKI v1.4.0之前版本存在安全漏洞,该漏洞源于使用rsync复制文件时使用的-a标志为0,这会强制rsync以root身份复制设置了suid位的二进制文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Cloudflare octorpki 0 ~ v1.4.2 -

II. Public POCs for CVE-2021-3978

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8613 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2021-3978

请登录查看更多情报信息。

Vendor Advisories for CVE-2021-3978 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-3978

No comments yet


Leave a comment