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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.07% · P21
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
特权管理不恰当
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
Cloudflareoctorpki 0 ~ v1.4.2 -

II. Public POCs for CVE-2021-3978

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-3978

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2021-3978

No comments yet


Leave a comment