Vulnerability Name:

CVE-2021-28967 (CCN-198767)

Assigned:2021-03-22
Published:2021-03-22
Updated:2022-05-20
Summary:The unofficial MATLAB extension before 2.0.1 for Visual Studio Code allows attackers to execute arbitrary code via a crafted workspace because of lint configuration settings.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-28967

Source: XF
Type: UNKNOWN
matlabextension-cve202128967-code-exec(198767)

Source: CCN
Type: MATLAB extension for Visual Studio Code
vscode-matlab

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/Gimly/vscode-matlab/commit/fc5dc53397677464099e80629e785a25718bf5ec

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/Gimly/vscode-matlab/releases

Source: MISC
Type: Release Notes, Vendor Advisory
https://marketplace.visualstudio.com/items/Gimly81.matlab/changelog

Source: MISC
Type: Third Party Advisory
https://vuln.ryotak.me/advisories/2

Source: CCN
Type: ryotak Security Advisory
MATLAB for Visual Studio Code remote code execution via crafted workspace

Vulnerable Configuration:Configuration 1:
  • cpe:/a:microsoft:visual_studio_code:*:*:*:*:*:matlab:*:* (Version < 2.0.1)

  • * Denotes that component is vulnerable
    BACK
    microsoft visual studio code *