Loading advisory.
Loading advisory.
Path traversal for local publishers in TechDocs backend
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.
Published 2022-06-17 01:11 UTC · Modified 2022-06-17 01:11 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected |
|---|
| Fixed in |
|---|
| Upgrade command |
|---|
| @backstage/plugin-techdocs-node | npm | < 1.1.2 | 1.1.2 | npm install @backstage/plugin-techdocs-node@1.1.2 |
|---|---|---|---|---|
| @backstage/techdocs-common | npm | < 0.11.16 | 0.11.16 | npm install @backstage/techdocs-common@0.11.16 |
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.
Those affected are advised to upgrade to @backstage/plugin-techdocs-node version 1.1.2 or higher.
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. -->
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository
Visit our chat, linked to in the Backstage README
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.