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
Link | Resource |
---|---|
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 |
Configurations
Information
Published : 2020-02-28 13:15
Updated : 2020-08-24 10:37
NVD link : CVE-2019-10804
Mitre link : CVE-2019-10804
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
serial-number_project
- serial-number