{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-35926","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2023-06-20T14:02:45.592Z","datePublished":"2023-06-22T13:29:03.361Z","dateUpdated":"2024-12-05T17:48:07.987Z"},"containers":{"cna":{"title":"Insecure sandbox in Backstage Scaffolder plugin","problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr"},{"name":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","tags":["x_refsource_MISC"],"url":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a"},{"name":"https://github.com/backstage/backstage/releases/tag/v1.15.0","tags":["x_refsource_MISC"],"url":"https://github.com/backstage/backstage/releases/tag/v1.15.0"}],"affected":[{"vendor":"backstage","product":"backstage","versions":[{"version":"< 1.15.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2023-06-22T13:29:03.361Z"},"descriptions":[{"lang":"en","value":"Backstage is an open platform for building developer portals. The Backstage scaffolder-backend plugin uses a templating library that requires sandbox, as it by design allows for code injection. The library used for this sandbox so far has been `vm2`, but in light of several past vulnerabilities and existing vulnerabilities  that may not have a fix, the plugin has switched to using a different sandbox library. A malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template YAML definition itself and not by user input data. This is vulnerability is fixed in version 1.15.0 of `@backstage/plugin-scaffolder-backend`."}],"source":{"advisory":"GHSA-wg6p-jmpc-xjmr","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T16:37:40.040Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr"},{"name":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a"},{"name":"https://github.com/backstage/backstage/releases/tag/v1.15.0","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/backstage/backstage/releases/tag/v1.15.0"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-05T17:47:53.884189Z","id":"CVE-2023-35926","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-12-05T17:48:07.987Z"}}]}}