GHSA-8j6j-4h2c-c65p
JSON

critical

Arbitrary Code Execution in require-node

Severity
critical rating by GitHub
Published
Last changed

Description

Versions of require-node prior to 1.3.4 for 1.x and 2.0.4 for 2.x are vulnerable to Arbitrary Code Execution. The package fails to sanitize requests to the require-node endpoint, allowing attackers to execute arbitrary code in the server through the injection of OS commands in the request body.

Recommendation

  • If you are using 1.x, upgrade to version 1.3.4 or later.
  • If you are using 2.x, upgrade to version 2.0.4 or later.

Affected

Product or packageVersionsReported by
require-node (npm)before 1.3.4, from 2.0.0 before 2.0.4GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8j6j-4h2c-c65p changed 2020-08-31CC-BY-4.0