GHSA-3fw4-4h3m-892h

Suggest an improvement
Source
https://github.com/advisories/GHSA-3fw4-4h3m-892h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-3fw4-4h3m-892h/GHSA-3fw4-4h3m-892h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3fw4-4h3m-892h
Aliases
Published
2021-04-13T15:22:19Z
Modified
2026-03-13T22:10:58.088655Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS Command Injection in serial-number
Details

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-09T21:39:10Z",
    "cwe_ids": [
        "CWE-78"
    ],
    "severity": "HIGH",
    "nvd_published_at": "2020-02-28T21:15:00Z"
}
References

Affected packages

npm / serial-number

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-3fw4-4h3m-892h/GHSA-3fw4-4h3m-892h.json"