{"id":"CVE-2021-23771","aliases":["CVE-2021-23771","GHSA-8g4m-cjm2-96wq"],"related":[],"kind":"vulnerability","state":"published","title":"Sandbox Bypass","summary":"This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878).","source":"cvelist"},{"lang":"en","text":"This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878). This package has been deprecated.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete notevil; todas las versiones del paquete argencoders-notevil. Es vulnerable a un Escape del Sandbox conllevando a una contaminación del Prototipo. El paquete falla al restringir el acceso al contexto principal, permitiendo a un atacante añadir o modificar el prototipo de un objeto. **Nota:** Esta vulnerabilidad deriva de una corrección incompleta en [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878)","source":"nvd"}],"published":"2022-03-17T11:20:35.048Z","modified":"2026-06-17T03:38:52.693Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"notevil","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"argencoders-notevil","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.3.3"}],"ecosystem":"npm","package":"notevil","purl":"pkg:npm/notevil","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.5.0"}],"ecosystem":"npm","package":"argencoders-notevil","purl":"pkg:npm/argencoders-notevil","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.5.0"}],"vendor":"argencoders-notevil_project","product":"argencoders-notevil","cpe":"cpe:2.3:a:argencoders-notevil_project:argencoders-notevil:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"1.3.3"}],"vendor":"notevil_project","product":"notevil","cpe":"cpe:2.3:a:notevil_project:notevil:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NOTEVIL-2385946","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JS-ARGENCODERSNOTEVIL-2388587","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23771","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mmckegg/notevil","tags":["package"],"sources":["ghsa"]}],"credits":["Cristian-Alexandru Staicu","Abdullah Alhamdan"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23771","url":"https://www.cve.org/CVERecord?id=CVE-2021-23771","licence":"CVE Terms of Use","modified":"2024-09-17T00:20:38.770Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8g4m-cjm2-96wq","url":"https://github.com/advisories/GHSA-8g4m-cjm2-96wq","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:13.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23771","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23771","licence":"Public domain","modified":"2026-06-17T03:38:52.693Z"}],"updatedAt":"2026-11-25T22:58:07.229Z","epss":{"score":0.01013,"percentile":0.64188,"date":"2026-12-01T12:00:22.000Z"}}