{"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-10-20T10:54:36.666511418Z","published":"2021-03-18T16:15:14.873Z","database_specific":{},"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":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:swiftlint_project:swiftlint:*:*:*:*:*:visual_studio_code:*:*","range":[{"introduced":"0"},{"fixed":"1.4.5"}]},{"source":"REFERENCES_TAG","original_tag":"1.4.5","range":[{"fixed":"e019036e8fd7a0652f8ee423e875f3f8ea1ea417"}]}]}}],"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.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}