CVE-2021-28790

Source
https://cve.org/CVERecord?id=CVE-2021-28790
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28790.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28790
Published
2021-03-18T16:15:14Z
Modified
2026-07-09T01:30:28Z
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 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.

References

Affected packages

Git / github.com/vknabel/vscode-swiftlint

Affected ranges

Type
GIT
Repo
https://github.com/vknabel/vscode-swiftlint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:swiftlint_project:swiftlint:*:*:*:*:*:visual_studio_code:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.4.5"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.7
1.2.7-beta.0
1.3.0
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4

Database specific

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