CVE-2024-53983
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.
Weakness
- CWE-918: Server-Side Request Forgery
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-12-02 |
Timeline
- 2024-11-29Published by the CNA18:53 UTC
- 2024-12-02GitHub advisory published (GHSA-qmc2-jpr5-7rg9)3 days after publication
- 2024-12-02CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-qmc2-jpr5-7rg9, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm @backstage/plugin-scaffolder-node | before 0.4.12 | 0.4.12 |
| npm @backstage/plugin-scaffolder-node | from 0.5.0 before 0.5.1 | 0.5.1 |
| npm @backstage/plugin-scaffolder-node | from 0.6.0 before 0.6.1 | 0.6.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| backstage backstage |
References
- https://github.com/backstage/backstage/security/advisories/GHSA-qmc2-jpr5-7rg9
- https://github.com/backstage/backstage/tree/master/plugins/scaffolder-node
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-53983'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-53983'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-53983'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-53983'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).