{"id":"GHSA-8j6j-4h2c-c65p","aliases":["GHSA-8j6j-4h2c-c65p"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution in require-node","summary":"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.\n\n\n## Recommendation\n\n- If you are using 1.x, upgrade to version 1.3.4 or later.\n- If you are using 2.x, upgrade to version 2.0.4 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\n- If you are using 1.x, upgrade to version 1.3.4 or later.\n- If you are using 2.x, upgrade to version 2.0.4 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T17:02:52.000Z","modified":"2020-08-31T18:44:11.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.4"}],"ecosystem":"npm","package":"require-node","purl":"pkg:npm/require-node","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"npm","package":"require-node","purl":"pkg:npm/require-node","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1015","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8j6j-4h2c-c65p","url":"https://github.com/advisories/GHSA-8j6j-4h2c-c65p","licence":"CC-BY-4.0","modified":"2020-08-31T18:44:11.000Z"}],"updatedAt":"2026-11-25T22:56:44.749Z"}