GitHub Advisoryadvisory · npm
GHSA-3fw4-4h3m-892h OS Command Injection in serial-number
HIGH
Official page ↗
- Aliases
- CVE-2019-10804
- Ecosystem
- npm
- Packages
- serial-number
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2021-04-09
Affected packages
• npm serial-number: <= 1.3.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2019-10804 serial-number through 1.3.0 allows execution of arbritary commands. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness