CVE-2024-53983 Server-side request forgery in Backstage Scaffolder plugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
The Backstage Scaffolder plugin Houses types and utilities for building scaffolder-related modules. A vulnerability is identified in Backstage Scaffolder template functionality where Server-Side Template Injection (SSTI) can be exploited to perform Git config injection. The vulnerability allows an attacker to capture privileged git tokens used by the Backstage Scaffolder plugin. With these tokens, unauthorized access to sensitive resources in git can be achieved. The impact is considered medium severity as the Backstage Threat Model recommends restricting access to adding and editing templates in the Backstage Catalog plugin. The issue has been resolved in versions v0.4.12, v0.5.1 and v0.6.1 of the @backstage/plugin-scaffolder-node package. Users are encouraged to upgrade to this version to mitigate the vulnerability. Users are advised to upgrade. Users unable to upgrade may ensure that templates do not change git config.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| backstage @backstage/plugin-scaffolder-node(npm) | < 0.4.12; = 0.5.0; = 0.6.0; >= 0.5.0, < 0.5.1 +1 more | 0.4.12, 0.5.1, 0.6.1 | Fixed |
| backstage | = < 0.4.12; = = 0.5.0; = = 0.6.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| backstage @backstage/plugin-scaffolder-node(npm) | < 0.4.12 | 0.4.12 |
| backstage @backstage/plugin-scaffolder-node(npm) | = 0.5.0 | No fix listed |
| backstage @backstage/plugin-scaffolder-node(npm) | = 0.6.0 | No fix listed |
| backstage | = < 0.4.12 | No fix listed |
| backstage | = = 0.5.0 | No fix listed |
| backstage | = = 0.6.0 | No fix listed |
| backstage @backstage/plugin-scaffolder-node(npm) | >= 0.5.0, < 0.5.1 | 0.5.1 |
| backstage @backstage/plugin-scaffolder-node(npm) | >= 0.6.0, < 0.6.1 | 0.6.1 |
References
- https://github.com/backstage/backstage/security/advisories/GHSA-qmc2-jpr5-7rg9 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/backstage/backstage/tree/master/plugins/scaffolder-node
- github.com
- github.com product