CVE-2021-28791

The unofficial SwiftFormat extension before 1.3.7 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftformat.path configuration value that triggers execution upon opening the workspace.
References
Link Resource
https://github.com/vknabel/vscode-swiftformat/releases/tag/1.3.7 Release Notes Third Party Advisory
https://vuln.ryotak.me/advisories/13 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:swiftformat_project:swiftformat:*:*:*:*:*:visual_studio_code:*:*

History

No history.

Information

Published : 2021-03-18 16:15

Updated : 2024-02-28 18:08


NVD link : CVE-2021-28791

Mitre link : CVE-2021-28791

CVE.ORG link : CVE-2021-28791


JSON object : View

Products Affected

swiftformat_project

  • swiftformat
CWE
CWE-863

Incorrect Authorization