ghsa-qmc2-jpr5-7rg9
Vulnerability from github
4.3 (Medium) - CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Impact
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.
Patches
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.
Workarounds
Users can ensure that templates do not change git config.
References
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository Visit our Discord, linked to in Backstage README
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@backstage/plugin-scaffolder-node" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.4.12" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "@backstage/plugin-scaffolder-node" }, "ranges": [ { "events": [ { "introduced": "0.5.0" }, { "fixed": "0.5.1" } ], "type": "ECOSYSTEM" } ], "versions": [ "0.5.0" ] }, { "package": { "ecosystem": "npm", "name": "@backstage/plugin-scaffolder-node" }, "ranges": [ { "events": [ { "introduced": "0.6.0" }, { "fixed": "0.6.1" } ], "type": "ECOSYSTEM" } ], "versions": [ "0.6.0" ] } ], "aliases": [ "CVE-2024-53983" ], "database_specific": { "cwe_ids": [ "CWE-918" ], "github_reviewed": true, "github_reviewed_at": "2024-12-02T21:36:21Z", "nvd_published_at": "2024-11-29T19:15:10Z", "severity": "MODERATE" }, "details": "### Impact\n\nA 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.\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nUsers can ensure that templates do not change git config.\n\n### References\n\nIf you have any questions or comments about this advisory:\n\nOpen an issue in the [Backstage repository](https://github.com/backstage/backstage)\nVisit our Discord, linked to in [Backstage README](https://github.com/backstage/backstage)", "id": "GHSA-qmc2-jpr5-7rg9", "modified": "2024-12-02T21:36:21Z", "published": "2024-12-02T21:36:21Z", "references": [ { "type": "WEB", "url": "https://github.com/backstage/backstage/security/advisories/GHSA-qmc2-jpr5-7rg9" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53983" }, { "type": "PACKAGE", "url": "https://github.com/backstage/backstage" }, { "type": "WEB", "url": "https://github.com/backstage/backstage/tree/master/plugins/scaffolder-node" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "Backstage Scaffolder plugin vulnerable to Server-Side Request Forgery" }
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.