{"id":"GHSA-3gpc-w23c-w59w","summary":"Sandbox Breakout / Arbitrary Code Execution in pitboss-ng","details":"All versions of `pitboss-ng` are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through `this.constructor.constructor` . This may allow attackers to execute arbitrary code in the system. Evaluating the payload `this.constructor.constructor('return process.env')()` prints the contents of `process.env`.\n  \n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","modified":"2021-04-21T19:45:42Z","published":"2020-09-04T15:02:06Z","database_specific":{"github_reviewed_at":"2020-08-31T18:55:00Z","nvd_published_at":null,"cwe_ids":[],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1319"}],"affected":[{"package":{"name":"pitboss-ng","ecosystem":"npm","purl":"pkg:npm/pitboss-ng"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-3gpc-w23c-w59w/GHSA-3gpc-w23c-w59w.json"}}],"schema_version":"1.9.0"}