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.

Severity
MEDIUM
CVSS v3
5.4
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.395%
chance of exploitation in the next 30 days
higher than 34.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableno
Technical impactpartial
Scored2024-12-02

Timeline

  1. 2024-11-29Published by the CNA18:53 UTC
  2. 2024-12-02GitHub advisory published (GHSA-qmc2-jpr5-7rg9)3 days after publication
  3. 2024-12-02CISA SSVC decision recorded3 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-qmc2-jpr5-7rg9, affected packages:

PackageVulnerable versionsFixed in
npm @backstage/plugin-scaffolder-nodebefore 0.4.120.4.12
npm @backstage/plugin-scaffolder-nodefrom 0.5.0 before 0.5.10.5.1
npm @backstage/plugin-scaffolder-nodefrom 0.6.0 before 0.6.10.6.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
backstage backstage

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources