CVE-2021-28792

HIGHCVSS 7.8/10EPSS 1.68%

Last modified

CVE-2021-28792 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 1.68% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
1.68%

74.0th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
Swift Development Environment ProjectSwift Development Environment< 2.12.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-28792?
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.
How severe is CVE-2021-28792?
CVE-2021-28792 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.68% probability of exploitation in the next 30 days.
How do I fix CVE-2021-28792?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-28792?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST