CVE-2021-28792

Source
https://cve.org/CVERecord?id=CVE-2021-28792
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28792.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28792
Published
2021-03-18T16:15:14.997Z
Modified
2026-03-15T15:13:27.999266Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.swiftdriverbin, or swift.path.shell configuration value that triggers execution upon opening the workspace.

References

Affected packages

Git / github.com/vknabel/vscode-swift-development-environment

Affected ranges

Type
GIT
Repo
https://github.com/vknabel/vscode-swift-development-environment
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.12.1"
        }
    ]
}

Affected versions

1.*
1.0.20170129
2.*
2.0.20170206
2.0.20170209
2.1.0
2.1.1
2.1.2
2.1.3
2.10.0
2.10.1
2.11.0
2.11.0-beta.0
2.11.1
2.11.2
2.12.0
2.2.0
2.3.0
2.3.1
2.3.1-beta.0
2.3.2
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.5.0
2.5.1
2.5.2
2.6.0
2.7.0
2.7.1
2.8.0
2.8.1
2.8.2
2.8.3
2.9.0
2.9.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28792.json"