Skip to content

OS Command Injection in serial-number

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

Package

npm serial-number (npm)

Affected versions

<= 1.3.0

Patched versions

None

Description

serial-number through 1.3.0 allows execution of arbritary commands. The "cmdPrefix" argument in serialNumber function is used by the "exec" function without any validation.

References

Published by the National Vulnerability Database Feb 28, 2020
Reviewed Apr 9, 2021
Published to the GitHub Advisory Database Apr 13, 2021
Last updated Feb 1, 2023

Severity

High

Weaknesses

CVE ID

CVE-2019-10804

GHSA ID

GHSA-3fw4-4h3m-892h

Source code

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