The unofficial apple/swift-format extension before 1.1.2 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted apple-swift-format.path configuration value that triggers execution upon opening the workspace.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:apple-swift-format_project:apple-swift-format:*:*:*:*:*:visual_studio:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.1.2"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "1.1.2",
"range": [
{
"fixed": "87a1206c54eb149b400604480ff774d9f05faed2"
}
],
"source": "REFERENCES_TAG"
}
]
}