Advisory

GHSA-3fw4-4h3m-892h

Also known as: CVE-2019-10804, SNYK-JS-SERIALNUMBER-559010

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-13 15:22 UTC
Modified
2026-07-08 05:56 UTC

Affected packages and fixes

serial-number

npm · All systems

Affected

  • introduced 0, last affected 1.3.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences