CVEvulnerability
CVE-2019-10804
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2020-02-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
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 configurations
• serial-number project serial-number (<= 1.3.0)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/es128/serial-number/blob/master/index.js#L106 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010 Exploit, Third Party Advisory
- https://github.com/es128/serial-number/blob/master/index.js#L106 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010 Exploit, Third Party Advisory