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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-32662— TechDocs mkdocs.yml path traversal

Quick assessment

Affected
backstage backstage
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

NPM Techdocs-common是美国npm(NPM)公司的一个软件包。 Techdocs-common 存在路径遍历漏洞,攻击者可以通过在"mkdocs.yml" 中为"docs_dir"设置特定路径,从构建和发布 TechDocs 文档的环境中读取敏感文件。

CVSS 6.5 · Medium EPSS 1.28% · P69
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-32662

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
TechDocs mkdocs.yml path traversal
Source: CVE Program / CVE List V5
Vulnerability Description
Backstage is an open platform for building developer portals, and techdocs-common contains common functionalities for Backstage's TechDocs. In `@backstage/techdocs-common` versions prior to 0.6.3, a malicious actor could read sensitive files from the environment where TechDocs documentation is built and published by setting a particular path for `docs_dir` in `mkdocs.yml`. These files would then be available over the TechDocs backend API. This vulnerability is mitigated by the fact that an attacker would need access to modify the `mkdocs.yml` in the documentation source code, and would also need access to the TechDocs backend API. The vulnerability is patched in the `0.6.3` release of `@backstage/techdocs-common`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Techdocs-common 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
NPM Techdocs-common是美国npm(NPM)公司的一个软件包。 Techdocs-common 存在路径遍历漏洞,攻击者可以通过在"mkdocs.yml" 中为"docs_dir"设置特定路径,从构建和发布 TechDocs 文档的环境中读取敏感文件。
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
backstage backstage < 0.6.3 -

II. Public POCs for CVE-2021-32662

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-32662

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

Patches & Fixes for CVE-2021-32662 (1)

Vendor Advisories for CVE-2021-32662 (1)

Other References for CVE-2021-32662 (1)

Same Patch Batch · backstage · 2021-06-03 · 3 CVEs total

CVE-2021-32660 6.8 MEDIUM TechDocs content sanitization bypass
CVE-2021-32661 6.8 MEDIUM TechDocs object element script injection

IV. Related Vulnerabilities

V. Comments for CVE-2021-32662

No comments yet


Leave a comment