GHSA-qmc2-jpr5-7rg9

Suggest an improvement
Source
https://github.com/advisories/GHSA-qmc2-jpr5-7rg9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-qmc2-jpr5-7rg9/GHSA-qmc2-jpr5-7rg9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qmc2-jpr5-7rg9
Aliases
  • CVE-2024-53983
Published
2024-12-02T21:36:21Z
Modified
2024-12-02T21:57:15.236512Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
  • 4.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Backstage Scaffolder plugin vulnerable to Server-Side Request Forgery
Details

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

Database specific
{
    "nvd_published_at": "2024-11-29T19:15:10Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-02T21:36:21Z"
}
References

Affected packages

npm / @backstage/plugin-scaffolder-node

Package

Name
@backstage/plugin-scaffolder-node
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-node

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.12

npm / @backstage/plugin-scaffolder-node

Package

Name
@backstage/plugin-scaffolder-node
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-node

Affected ranges

Type
SEMVER
Events
Introduced
0.5.0
Fixed
0.5.1

Affected versions

0.*

0.5.0

npm / @backstage/plugin-scaffolder-node

Package

Name
@backstage/plugin-scaffolder-node
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-scaffolder-node

Affected ranges

Type
SEMVER
Events
Introduced
0.6.0
Fixed
0.6.1

Affected versions

0.*

0.6.0