{"url":"http://public2.vulnerablecode.io/api/packages/322275?format=json","purl":"pkg:npm/veval@0.0.0","type":"npm","namespace":"","name":"veval","version":"0.0.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/40360?format=json","vulnerability_id":"VCID-tuqx-wy84-pkap","summary":"Sandbox Breakout / Arbitrary Code Execution in veval\nAll versions of `veval` 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\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","references":[{"reference_url":"https://www.npmjs.com/advisories/1321","reference_id":"","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://www.npmjs.com/advisories/1321"},{"reference_url":"https://github.com/advisories/GHSA-54qm-37qr-w5wq","reference_id":"GHSA-54qm-37qr-w5wq","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-54qm-37qr-w5wq"}],"fixed_packages":[],"aliases":["GHSA-54qm-37qr-w5wq"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-tuqx-wy84-pkap"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/veval@0.0.0"}