Vulnerability Details : CVE-2023-35926
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`.
Vulnerability category: Execute code
Products affected by CVE-2023-35926
- cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-35926
0.61%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-35926
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.9
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
3.1
|
6.0
|
NIST | |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
1.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-35926
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2023-35926
-
https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr
Insecure sandbox in Backstage Scaffolder plugin · Advisory · backstage/backstage · GitHubVendor Advisory
-
https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a
feat: replace vm2 sandbox with isolated-vm · backstage/backstage@fb73755 · GitHubPatch
-
https://github.com/backstage/backstage/releases/tag/v1.15.0
Release v1.15.0 · backstage/backstage · GitHubRelease Notes
Jump to