Command Injection Affecting bestzip package, versions <2.1.7


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-BESTZIP-609371
  • published2 Sept 2020
  • disclosed2 Sept 2020
  • creditNathan Friedly

Introduced: 2 Sep 2020

CVE-2020-7730  (opens in a new tab)
CWE-78  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade bestzip to version 2.1.7 or higher.

Overview

bestzip is an Uses OS zip command if avaliable (for better performance and speed) or node.js version if there is no system command avaliable. Can be called via node or command line.

Affected versions of this package are vulnerable to Command Injection via the options param.

References

CVSS Scores

version 3.1