CVE-2021-32662
Medium 6.5No known exploitationFix availableTechDocs mkdocs.yml path traversal
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 71% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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`.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| backstage | backstage | < 0.6.3 | Not documented | CVE Program |
| linuxfoundation | backstage/techdocs-common | all versions before 0.6.3 | 0.6.3 | NIST NVD |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://github.com/backstage/backstage/commit/8cefadca04cbf01d0394b0cb1983247e5f1d6208 (opens in a new tab)patch, third party advisory, x_refsource_misc, x_transferred
- https://github.com/backstage/backstage/releases/tag/release-2021-05-27 (opens in a new tab)release notes, third party advisory, x_refsource_misc, x_transferred
- https://github.com/backstage/backstage/security/advisories/GHSA-pgf8-28gg-vpr6 (opens in a new tab)third party advisory, x_refsource_confirm, x_transferred