cve-2023-39956
Vulnerability from cvelistv5
Published
2023-09-06 20:09
Modified
2024-09-26 15:17
Severity ?
EPSS score ?
Summary
Electron: Out-of-package code execution when launched with arbitrary cwd
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T18:18:10.164Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5" } ], "title": "CVE Program Container" }, { "metrics": [ { "other": { "content": { "id": "CVE-2023-39956", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2024-09-26T14:44:20.784199Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-09-26T15:17:59.795Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "product": "electron", "vendor": "electron", "versions": [ { "status": "affected", "version": "\u003c 22.3.19" }, { "status": "affected", "version": "\u003e= 23.0.0, \u003c 23.3.13" }, { "status": "affected", "version": "\u003e= 24.0.0, \u003c 24.7.1" }, { "status": "affected", "version": "\u003e= 25.0.0, \u003c 25.4.1" }, { "status": "affected", "version": "\u003e= 26.0.0-beta.1, \u003c 26.0.0-beta.13" } ] } ], "descriptions": [ { "lang": "en", "value": "Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. This issue has been fixed in versions:`26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13`, and `22.3.19`. There are no app side workarounds, users must update to a patched version of Electron." } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "LOW", "baseScore": 6.1, "baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2023-09-06T20:09:33.185Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5" } ], "source": { "advisory": "GHSA-7x97-j373-85x5", "discovery": "UNKNOWN" }, "title": "Electron: Out-of-package code execution when launched with arbitrary cwd" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2023-39956", "datePublished": "2023-09-06T20:09:33.185Z", "dateReserved": "2023-08-07T16:27:27.075Z", "dateUpdated": "2024-09-26T15:17:59.795Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-39956\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2023-09-06T21:15:13.217\",\"lastModified\":\"2023-09-12T12:32:48.677\",\"vulnStatus\":\"Analyzed\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. This issue has been fixed in versions:`26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13`, and `22.3.19`. There are no app side workarounds, users must update to a patched version of Electron.\"},{\"lang\":\"es\",\"value\":\"\\\"Electron es un framework que le permite escribir aplicaciones de escritorio multiplataforma utilizando JavaScript, HTML y CSS. Las aplicaciones de Electron que se inician como ejecutables de l\u00ednea de comandos se ven afectadas. Espec\u00edficamente, este problema solo puede explotarse si se cumplen las siguientes condiciones: \\n1. La aplicaci\u00f3n se inicia con un directorio de trabajo controlado por el atacante y \\n2. El atacante tiene la capacidad de escribir archivos en ese directorio de trabajo.\\nEsto hace que el riesgo sea bastante bajo, de hecho, normalmente los problemas de este tipo se consideran fuera de nuestro modelo de amenaza, ya que son similares a Chromium y excluimos los ataques f\u00edsicamente locales, pero dada la capacidad de este problema para eludir ciertas protecciones como la Integridad ASAR, se est\u00e1 tratando con niveles m\u00e1s altos de importancia. Este problema se solucion\u00f3 en las versiones: `26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13` y `22.3.19`. No existen workarounds en la aplicaci\u00f3n, los usuarios deben actualizar a una versi\u00f3n parcheada de Electron.\\\"\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"LOW\",\"baseScore\":6.6,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":1.8,\"impactScore\":4.7},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"LOW\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":1.3,\"impactScore\":4.7}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*\",\"versionEndExcluding\":\"22.3.9\",\"matchCriteriaId\":\"876893B6-020E-4F0C-ADA8-0AAAFDFB3922\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*\",\"versionStartIncluding\":\"23.0.0\",\"versionEndExcluding\":\"23.3.13\",\"matchCriteriaId\":\"3C0714E9-9092-49C0-AD01-F56AF468BA49\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*\",\"versionStartIncluding\":\"24.0.0\",\"versionEndExcluding\":\"24.7.1\",\"matchCriteriaId\":\"95DEED4B-F4E0-486B-B46B-4397519235EC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*\",\"versionStartIncluding\":\"25.0.0\",\"versionEndExcluding\":\"25.5.0\",\"matchCriteriaId\":\"1BB069BB-C9A7-480C-A689-F83FC630534C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha1:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"39BCC6D5-834D-4883-B7B8-89F7E67BC61E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha2:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"EBEBCE23-C4FC-4EDC-BDC5-2FE8DB113EA7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha3:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"84FBB241-6F29-49FD-897B-0A0DFDF884FC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha4:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"A88CA9F8-D261-4386-89FF-619F485DF6CD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha5:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"6C56F8DA-3DF0-41F0-AA2B-A6038F0F5C67\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha6:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"8BA72227-F2E5-47FA-9A0E-15A7A4427633\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha7:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"9EF46C92-82F7-4D80-BEA5-3E397E76EC53\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:alpha8:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"82F847A9-299A-4EF8-B132-538B25B3CC7E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta1:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"AF7D1848-6965-4C53-8034-1927E36F51A5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta10:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"513AF17A-CB29-4C15-831E-EA85A030CF69\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta11:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"1A6182B1-2B14-4AD8-AE84-234399E57EF4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta12:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"25D4C39D-27FA-4463-8673-7FA542EC984F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta2:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"F204551A-6B2F-4C48-83F7-35B948B63CBE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta3:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"821BAF73-8B32-4659-B85D-C9E04A5E3FFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta4:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"2A8A2C17-34D3-4726-A8F3-F122496AE57B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta5:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"B4A630C6-9D54-4D96-9D49-D4CAAE9EA5FE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta6:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"F71F0038-5C57-498D-9FFB-804975C24C78\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta7:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"1DA4DBAF-F34B-4788-AD0D-03A03008FB47\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta8:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"A6082EF5-BFE1-43EA-BCE9-A7420B50085C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:electronjs:electron:26.0.0:beta9:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"D31FA398-54AE-4162-9A0B-5CC367DBBF63\"}]}]}],\"references\":[{\"url\":\"https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Vendor Advisory\"]}]}}" } }
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.