{"id":"CVE-2024-53983","published":"2024-11-29T18:53:13Z","modified":"2024-12-02T22:16:09Z","title":"Server-side request forgery in Backstage Scaffolder plugin","vendor":"backstage","product":"backstage","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00654,"percentile":0.46075,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/backstage/backstage/security/advisories/GHSA-qmc2-jpr5-7rg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/backstage/backstage/tree/master/plugins/scaffolder-node","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":9.21},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"backstage","affectedVersions":[{"vendor":"backstage","product":"backstage","versions":["< 0.4.12","= 0.5.0","= 0.6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-02T22:15:55.540623Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@backstage/plugin-scaffolder-node","vulnerableRanges":["<0.4.12",">=0.5.0, <0.5.1",">=0.6.0, <0.6.1"],"patched":["0.4.12","0.5.1","0.6.1"],"from":["GHSA-qmc2-jpr5-7rg9"],"provenance":"source"}],"summary":{"text":"The Scaffolder plugin in Backstage (the @backstage/plugin-scaffolder-node package, a component of the Backstage product) contains a flaw in its template functionality, where server-side template injection can be used to inject Git configuration and expose the privileged Git tokens the plugin uses. An attacker who can add or edit Scaffolder templates, which the Backstage threat model says should be restricted, can exploit this over the network with high attack complexity, high privileges and required user interaction, and no configuration changes are needed beyond the default setup.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:43Z"},"euvd":{"id":"EUVD-2024-3501","exploited":false,"provenance":"source"}}