{ "id": "CVE-2021-22539", "sourceIdentifier": "cve-coordination@google.com", "published": "2021-04-16T11:15:12.637", "lastModified": "2022-10-25T16:36:46.623", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "An attacker can place a crafted JSON config file into the project folder pointing to a custom executable. VScode-bazel allows the workspace path to lint *.bzl files to be set via this config file. As such the attacker is able to execute any executable on the system through vscode-bazel. We recommend upgrading to version 0.4.1 or above." }, { "lang": "es", "value": "Un atacante puede colocar un archivo de configuraci\u00f3n JSON dise\u00f1ado en la carpeta del proyecto que apunta a un ejecutable personalizado. VScode-bazel permite que la ruta del espacio de trabajo a los archivos lint * .bzl sean establecidos por medio de este archivo de configuraci\u00f3n. Como tal, el atacante es capaz de ejecutar cualquier ejecutable en el sistema a trav\u00e9s de vscode-bazel. Recomendamos actualizar a la versi\u00f3n 0.4.1 o por arriba" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.8, "impactScore": 5.9 }, { "source": "cve-coordination@google.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.2, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.5, "impactScore": 6.0 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-668" } ] }, { "source": "cve-coordination@google.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-73" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:google:bazel:*:*:*:*:*:visual_studio:*:*", "versionStartIncluding": "0.1.0", "versionEndExcluding": "0.4.1", "matchCriteriaId": "6AC4AFC4-B2BE-4CFA-A1FF-0D7203784325" } ] } ] } ], "references": [ { "url": "https://github.com/bazelbuild/vscode-bazel-ghsa-2rcw-j8x4-hgcv/pull/1", "source": "cve-coordination@google.com", "tags": [ "Broken Link" ] }, { "url": "https://github.com/bazelbuild/vscode-bazel/security/advisories/GHSA-2rcw-j8x4-hgcv", "source": "cve-coordination@google.com", "tags": [ "Third Party Advisory" ] } ] }