GHSA-4x6x-782q-jfc4

Suggest an improvement
Source
https://github.com/advisories/GHSA-4x6x-782q-jfc4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4x6x-782q-jfc4/GHSA-4x6x-782q-jfc4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4x6x-782q-jfc4
Published
2020-09-03T02:38:47Z
Modified
2020-08-31T18:41:45Z
Summary
Command Injection in node-wifi
Details

Versions of node-wifi prior to 2.0.12 are vulnerable to Command Injection. The package fails to sanitize user input, allowing attackers to inject commands through the ssid variable and possibly achieving Remote Code Execution on the system.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Database specific
{
    "cwe_ids":  [
        "CWE-77"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:41:45Z",
    "nvd_published_at":  null,
    "severity":  "CRITICAL"
}
References

Affected packages

npm / node-wifi

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-4x6x-782q-jfc4/GHSA-4x6x-782q-jfc4.json"