Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-10804 EUVD-2021-0746GHSA-3fw4-4h3m-892hSNYK-JS-SERIALNUMBER-559010

OS Command Injection in serial-number

Published Feb 28, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— serial-number All versions including 1.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm serial-number <= 1.3.0 — GHSA-3fw4-4h3m-892h

References