Skip to content

Injection and Command Injection in devcert

High severity GitHub Reviewed Published May 18, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm devcert (npm)

Affected versions

<= 1.1.1

Patched versions

1.1.2

Description

A command injection vulnerability in the devcert module may lead to remote code execution when users of the module pass untrusted input to the certificateFor function.

References

Published by the National Vulnerability Database Jul 10, 2020
Reviewed May 11, 2021
Published to the GitHub Advisory Database May 18, 2021
Last updated Feb 1, 2023

Severity

High

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(80th percentile)

Weaknesses

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Learn more on MITRE.

Improper Neutralization of Special Elements used in a Command ('Command Injection')

The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Learn more on MITRE.

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Learn more on MITRE.

CVE ID

CVE-2020-8186

GHSA ID

GHSA-4228-7qvx-f4rq

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.