Command Injection Affecting devcert package, versions <1.1.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.28% (70th 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-DEVCERT-571955
  • published10 Jun 2020
  • disclosed10 Jun 2020
  • creditUnknown

Introduced: 10 Jun 2020

CVE-2020-8186  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade devcert to version 1.1.1 or higher.

Overview

devcert is a Generate trusted local SSL/TLS certificates for local SSL development

Affected versions of this package are vulnerable to Command Injection. The function run used execSync without proper sanitization.

CVSS Scores

version 3.1