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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | serial-number | All versions including 1.3.0 |
References
- https://github.com/es128/serial-number/blob/master/index.js#L106Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010Exploit, Third Party Advisory
- https://github.com/es128/serial-number/blob/master/index.js#L106Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-SERIALNUMBER-559010Exploit, Third Party Advisory
Timeline
- Published
- Feb 28, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified