Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Electron with security fix for remote code execution vulnerability #192902

Closed
chrmarti opened this issue Sep 12, 2023 · 0 comments
Closed
Assignees
Labels
electron Issues and items related to Electron security

Comments

@chrmarti
Copy link
Collaborator

chrmarti commented Sep 12, 2023

A remote code execution vulnerability exists in VS Code 1.80.1 and earlier versions where opening a maliciously crafted workspace from the command line code <attacker-controlled-workspace> can result in executing commands locally. Specifically this issue can only be exploited if the following conditions are met:

  • VS Code is launched with an attacker-controlled working directory
  • The attacker has the ability to write files to that working directory

Patches

The fix is available starting with VS Code 1.80.2. The fix (2ccd690) mitigates
the attack by updating to a newer version of Electron that contains the security fix.

Workarounds

There are no application side workarounds other than updating VS Code to the fixed version.

References

@chrmarti chrmarti added electron Issues and items related to Electron security labels Sep 12, 2023
@chrmarti chrmarti added this to the June 2023 Recovery 2 milestone Sep 12, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron security
Projects
None yet
Development

No branches or pull requests

2 participants