Skip to content

Python extension for Visual Studio Code Remote Code Execution Vulnerability

High
karthiknadig published GHSA-cmrx-fhfp-pq36 Nov 12, 2024

Package

ms-python.python

Affected versions

>=2024.9.0

Patched versions

>=2024.20.0

Description

Impact

There is a security vulnerability in the untrusted workspaces flow with specially crafted workspaces.

Patches

The fix is available starting with 2024.20.0 fix is (a16ed6b) . The python discovery code that was problematic is disabled untrusted mode.

Workarounds

Check for python executables checked-into SCM before opening untrusted workspaces.

References

References

Severity

High

CVE ID

CVE-2024-49050

Weaknesses