The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell configuration value that triggers execution upon opening the workspace.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:swift_development_environment_project:swift_development_environment:*:*:*:*:*:visual_studio_code:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.12.1"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "2.12.1",
"range": [
{
"fixed": "fc28a1d2a5e16a8396bee1ba0da3c837b8d85c18"
}
],
"source": "REFERENCES_TAG"
}
]
}