@backstage/plugin-scaffolder-backend
Affected
- introduced
0.9.4, fixed0.15.9(semver)
Fixed versions
0.15.9
Fix
- Fixed version
0.15.9npm install @backstage/[email protected]
Advisory
Also known as: CVE-2021-41151
Path Traversal in @backstage/plugin-scaffolder-backend
Impact
A malicious actor could read sensitive files from the environment where Scaffolder tasks are run. The attack is executed by crafting a custom Scaffolder template with a publish:github:pull-request action using a particular source path. When the template is executed the sensitive files would be included in the published pull request.
This vulnerability is mitigated by the fact that an attacker would need access to create and register templates in the Backstage catalog, and that the attack is very visible given that the exfiltration happens via a pull request.
Patches
The vulnerability is patched in the 0.15.9 release of @backstage/plugin-scaffolder-backend.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0.9.4, fixed 0.15.9 (semver)0.15.9
0.15.9npm 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