{"id":"CVE-2021-28790","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.","modified":"2026-07-09T01:30:28.025430Z","published":"2021-03-18T16:15:14.873Z","references":[{"type":"ADVISORY","url":"https://github.com/vknabel/vscode-swiftlint/releases/tag/1.4.5"},{"type":"ADVISORY","url":"https://vuln.ryotak.me/advisories/12"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vknabel/vscode-swiftlint","events":[{"introduced":"0"},{"fixed":"e019036e8fd7a0652f8ee423e875f3f8ea1ea417"}],"database_specific":{"cpe":"cpe:2.3:a:swiftlint_project:swiftlint:*:*:*:*:*:visual_studio_code:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.4.5"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.3.0","1.2.7","1.2.7-beta.0","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.0","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28790.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}