GHSA-j6v9-xgvh-f796

Suggest an improvement
Source
https://github.com/advisories/GHSA-j6v9-xgvh-f796
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j6v9-xgvh-f796/GHSA-j6v9-xgvh-f796.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j6v9-xgvh-f796
Published
2020-09-11T21:11:34Z
Modified
2020-08-31T18:42:04Z
Summary
Command Injection in wxchangba
Details

All versions of wxchangba are vulnerable to Command Injection. The package does not validate user input on the reqPostMaterial function, passing contents of the file parameter to an exec call. This may allow attackers to run arbitrary commands in the system.

Recommendation

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

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

Affected packages

npm / wxchangba

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j6v9-xgvh-f796/GHSA-j6v9-xgvh-f796.json"