Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNmdzQtNGgzbS04OTJo

OS Command Injection in serial-number

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.

Permalink: https://github.com/advisories/GHSA-3fw4-4h3m-892h
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNmdzQtNGgzbS04OTJo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: over 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-3fw4-4h3m-892h, CVE-2019-10804
References: Repository: https://github.com/es128/serial-number
Blast Radius: 14.3

Affected Packages

npm:serial-number
Dependent packages: 6
Dependent repositories: 29
Downloads: 3,309 last month
Affected Version Ranges: <= 1.3.0
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0