gsd-2023-35926
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
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`.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-35926", "id": "GSD-2023-35926" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-35926" ], "details": "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`.", "id": "GSD-2023-35926", "modified": "2023-12-13T01:20:45.896081Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-35926", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "backstage", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 1.15.0" } ] } } ] }, "vendor_name": "backstage" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "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`." } ] }, "impact": { "cvss": [ { "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" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-94", "lang": "eng", "value": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr", "refsource": "MISC", "url": "https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr" }, { "name": "https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a", "refsource": "MISC", "url": "https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a" }, { "name": "https://github.com/backstage/backstage/releases/tag/v1.15.0", "refsource": "MISC", "url": "https://github.com/backstage/backstage/releases/tag/v1.15.0" } ] }, "source": { "advisory": "GHSA-wg6p-jmpc-xjmr", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c1.15.0", "affected_versions": "All versions before 1.15.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-78", "CWE-937", "CWE-94" ], "date": "2023-06-22", "description": "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`.", "fixed_versions": [ "1.15.0" ], "identifier": "CVE-2023-35926", "identifiers": [ "GHSA-wg6p-jmpc-xjmr", "CVE-2023-35926" ], "not_impacted": "All versions starting from 1.15.0", "package_slug": "npm/@backstage/plugin-scaffolder-backend", "pubdate": "2023-06-21", "solution": "Upgrade to version 1.15.0 or above.", "title": "Improper Control of Generation of Code (\u0027Code Injection\u0027)", "urls": [ "https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr", "https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a", "https://github.com/backstage/backstage/releases/tag/v1.15.0", "https://nvd.nist.gov/vuln/detail/CVE-2023-35926", "https://github.com/advisories/GHSA-wg6p-jmpc-xjmr" ], "uuid": "b838b48e-d66d-4050-90b3-ef13212b197f" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:linuxfoundation:backstage:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.15.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-35926" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "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`." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-94" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr" }, { "name": "https://github.com/backstage/backstage/releases/tag/v1.15.0", "refsource": "MISC", "tags": [ "Release Notes" ], "url": "https://github.com/backstage/backstage/releases/tag/v1.15.0" }, { "name": "https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.9, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.1, "impactScore": 6.0 } }, "lastModifiedDate": "2023-06-29T20:54Z", "publishedDate": "2023-06-22T14:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.