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://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 |
Configurations
History
21 Nov 2024, 04:19
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/es128/serial-number/blob/master/index.js#L106 - Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010 - Exploit, Third Party Advisory |
Information
Published : 2020-02-28 21:15
Updated : 2024-11-21 04:19
NVD link : CVE-2019-10804
Mitre link : CVE-2019-10804
CVE.ORG link : CVE-2019-10804
JSON object : View
Products Affected
serial-number_project
- serial-number
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')