Command Injection

Affecting theme-core package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

Affected versions of this package are vulnerable to Command Injection via the lib/utils.js file, which is required by main entry of the package.

PoC:

var a =require("theme-core");
a.utils.sh("touch JHU")

Remediation

There is no fixed version for theme-core.

CVSS Score

9.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Credit
JHU System Security Lab
CVE
CVE-2020-28432
CWE
CWE-78
Snyk ID
SNYK-JS-THEMECORE-1050425
Disclosed
11 Dec, 2020
Published
23 Feb, 2021