CVE-2021-28790
Homebrew vulnerability analysis and mitigation

Overview

The SwiftLint extension before version 1.4.5 for Visual Studio Code contained a critical security vulnerability that allowed remote attackers to execute arbitrary code. The vulnerability could be exploited by constructing a malicious workspace with a crafted swiftlint.path configuration value that would trigger code execution when the workspace was opened (Vuln DB, NVD).

Technical details

The vulnerability was identified as CWE-284 (Improper Access Control) and assigned a CVSS v3.1 base score of 7.8 HIGH (Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). The issue stemmed from insufficient validation of the swiftlint.path configuration value in workspace settings, which could be manipulated to execute arbitrary binaries (NVD, Vuln DB).

Impact

Successful exploitation of this vulnerability could allow attackers to achieve arbitrary code execution in the context of the current user when a victim opens a malicious workspace. This could potentially lead to complete compromise of the affected system, allowing attackers to execute commands, access sensitive data, or gain further system access (NVD).

Mitigation and workarounds

The vulnerability was fixed in SwiftLint extension version 1.4.5. The fix involved banning certain configurations from workspace settings, specifically preventing the swiftlint.path configuration from being overridden in workspaces (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66222CRITICAL9.6
  • HomebrewHomebrew
  • deepchat
NoNoDec 03, 2025
CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-66548MEDIUM5.5
  • HomebrewHomebrew
  • deck
NoYesDec 05, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-66557MEDIUM4.3
  • HomebrewHomebrew
  • deck
NoYesDec 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management