CVE & CISA-KEV Catalog

CVE-2021-28791

HIGHEPSS 73th pctl
7.8
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
swiftformatNVD
Affected:< 1.3.7Fixed in:1.3.7CVE-2021-28791derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

1.62%probability of exploitation in 30 days
73rdpercentile

Elevated risk: more likely to be exploited than 73% of all known CVEs.

References

Third-Party Advisory2

Related Vulnerabilities

Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-22518Critical9.8100%KEV + RansomFix
CVE-2023-38035Critical9.8100%KEV + Ransom-
CVE-2022-46169Critical9.8100%KEVFix
CVE-2025-29927Critical9.1100%-Fix
CVE-2024-38856Critical9.899%KEVFix
CVE-2020-36289Medium5.399%-Fix
Embed a live status badge for CVE-2021-28791
CVE-2021-28791 severity badge

Markdown

[![CVE-2021-28791](https://tridentstack.com/cve/badge/CVE-2021-28791.svg)](https://tridentstack.com/cve/CVE-2021-28791)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-28791"><img src="https://tridentstack.com/cve/badge/CVE-2021-28791.svg" alt="CVE-2021-28791"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.