@backstage/plugin-techdocs-node
Affected
- introduced
0, fixed1.1.2(semver)
Fixed versions
1.1.2
Fix
- Fixed version
1.1.2npm install @backstage/[email protected]
Advisory
Also known as: None
Path traversal for local publishers in TechDocs backend
Impact
A malicious actor with the ability to register entities in the Software Catalog is able to write files to arbitrary paths on the techdocs backend host instance when techdocs.publisher.type is set to local.
This vulnerability is mitigated by the fact that the Software Catalog must be configured with non-standard field format validators and/or non-standard entity policies.
Patches
Those affected are advised to upgrade to @backstage/plugin-techdocs-node version 1.1.2 or higher.
Workarounds
If patching or upgrading is not possible, it would be sufficient to update any custom Catalog field format validators and/or custom entity policies to disallow entity names, kinds, and namespaces containing ..
<!--
References
todo: Link to blog post / published report.
-->
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 1.1.2 (semver)1.1.2
1.1.2npm install @backstage/[email protected]0, fixed 0.11.16 (semver)0.11.16
0.11.16npm install @backstage/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0