Vulnerability Details : CVE-2021-28790
The unofficial SwiftLint extension before 1.4.5 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftlint.path configuration value that triggers execution upon opening the workspace.
Vulnerability category: Execute code
Products affected by CVE-2021-28790
- cpe:2.3:a:swiftlint_project:swiftlint:*:*:*:*:*:visual_studio_code:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28790
2.78%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28790
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
References for CVE-2021-28790
-
https://github.com/vknabel/vscode-swiftlint/releases/tag/1.4.5
Release Banned some configs from workspace settings · vknabel/vscode-swiftlint · GitHubRelease Notes;Third Party Advisory
-
https://vuln.ryotak.me/advisories/12
Advisory #12 - RyotaK's Vuln DBThird Party Advisory
Jump to