{"answers":{"affected":"6 open source packages ship an affected version, including @backstage/plugin-scaffolder-node.","exploited":"There is no known exploitation of CVE-2024-53983 in the wild and no public exploit code.","fix":"Upgrade @backstage/plugin-scaffolder-node to a fixed version for your release line: 0.4.12, 0.5.1 or 0.6.1.","what":"CVE-2024-53983 is a medium-severity server-side request forgery vulnerability in backstage, published on 29 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-53983 and fix it if it is affected.\n\nWhat it is: CVE-2024-53983 is a medium-severity server-side request forgery vulnerability in backstage, published on 29 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-53983 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @backstage/plugin-scaffolder-node (npm): affected all versions; fixed in 0.4.12\n- @backstage/plugin-scaffolder-node (npm): affected all versions; fixed in 0.4.12\n- @backstage/plugin-scaffolder-node (npm): affected from 0.5.0; fixed in 0.5.1\n- @backstage/plugin-scaffolder-node (npm): affected from 0.5.0; fixed in 0.5.1\n- @backstage/plugin-scaffolder-node (npm): affected from 0.6.0; fixed in 0.6.1\n- @backstage/plugin-scaffolder-node (npm): affected from 0.6.0; fixed in 0.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-53983/ (Markdown: https://insights.sbomify.com/CVE-2024-53983/index.md)","id":"CVE-2024-53983","markdown":"https://insights.sbomify.com/CVE-2024-53983/index.md","name":"CVE-2024-53983","record":{"aliases":["GHSA-qmc2-jpr5-7rg9"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Backstage Scaffolder plugin","requires_auth":"high_privilege","summary":"Attackers can exploit Server-Side Template Injection to capture privileged git tokens, enabling unauthorized access to sensitive git resources.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Server-side request forgery in Backstage Scaffolder plugin","id":"CVE-2024-53983","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":6,"n_references":2,"next":{"headline":"Nanopb does not release memory on error return when using PB_DECODE_DELIMITED","id":"CVE-2024-53984"},"packages":[{"ecosystem":"npm","fixed":["0.4.12"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":null,"source":"GHSA-qmc2-jpr5-7rg9"},{"ecosystem":"npm","fixed":["0.4.12"],"introduced":["0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":"pkg:npm/%40backstage/plugin-scaffolder-node","source":"GHSA-qmc2-jpr5-7rg9"},{"ecosystem":"npm","fixed":["0.5.1"],"introduced":["0.5.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":null,"source":"GHSA-qmc2-jpr5-7rg9"},{"ecosystem":"npm","fixed":["0.5.1"],"introduced":["0.5.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":"pkg:npm/%40backstage/plugin-scaffolder-node","source":"GHSA-qmc2-jpr5-7rg9"},{"ecosystem":"npm","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":null,"source":"GHSA-qmc2-jpr5-7rg9"},{"ecosystem":"npm","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"@backstage/plugin-scaffolder-node","purl":"pkg:npm/%40backstage/plugin-scaffolder-node","source":"GHSA-qmc2-jpr5-7rg9"}],"prev":{"headline":"Arbitrary file download in Zoo-Project Echo Example","id":"CVE-2024-53982"},"products":["backstage"],"published":"2024-11-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-02","vendors":["backstage"]},"summary":"Attackers can exploit Server-Side Template Injection to capture privileged git tokens, enabling unauthorized access to sensitive git resources.","url":"https://insights.sbomify.com/CVE-2024-53983/"}