Command Injection

Affecting corenlp-js-prefab package, ALL versions

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

Overview

corenlp-js-prefab is a deprecated package. Uses corenlp-js-interface with a simple prefab function so you only have to send text no extra parameters with each call.

Affected versions of this package are vulnerable to Command Injection via the main function.

PoC

var a=require("corenlp-js-prefab");
a.process("') touch JHU # '");

Remediation

There is no fixed version for corenlp-js-prefab.

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-28439
CWE
CWE-78
Snyk ID
SNYK-JS-CORENLPJSPREFAB-1050434
Disclosed
11 Dec, 2020
Published
11 Dec, 2020