{"id":"CVE-2021-40660","aliases":["CVE-2021-40660","GHSA-38j3-6fm8-pfgc"],"related":[],"kind":"vulnerability","state":"published","title":"Regular expression denial of service in Delight Nashorn Sandbox","summary":"An issue was discovered in Delight Nashorn Sandbox 0.2.0. There is an ReDoS vulnerability that can be exploited to launching a denial of service (DoS) attack.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Delight Nashorn Sandbox 0.2.0. There is an ReDoS vulnerability that can be exploited to launching a denial of service (DoS) attack.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in Delight Nashorn Sandbox. There is an ReDoS vulnerability that can be exploited to launching a denial of service (DoS) attack.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en Delight Nashorn Sandbox 0.2.0. Se presenta una vulnerabilidad ReDoS que puede ser explotada para lanzar un ataque de denegación de servicio (DoS)","source":"nvd"}],"published":"2022-06-14T13:16:20.000Z","modified":"2026-06-17T04:07:13.960Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.3.1"}],"ecosystem":"Maven","package":"org.javadelight:delight-nashorn-sandbox","purl":"pkg:maven/org.javadelight/delight-nashorn-sandbox","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.2.0"}],"vendor":"javadelight","product":"nashorn_sandbox","cpe":"cpe:2.3:a:javadelight:nashorn_sandbox:0.2.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/javadelight/delight-nashorn-sandbox/issues/117","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40660","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/javadelight/delight-nashorn-sandbox/issues/117#issuecomment-1564983722","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/javadelight/delight-nashorn-sandbox/pull/139","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/javadelight/delight-nashorn-sandbox/commit/b899b8ecad46090fdc042ac7683e1164114a69de","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/javadelight/delight-nashorn-sandbox","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/javadelight/delight-nashorn-sandbox/releases/tag/0.3.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-40660","url":"https://www.cve.org/CVERecord?id=CVE-2021-40660","licence":"CVE Terms of Use","modified":"2024-08-04T02:51:06.342Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-38j3-6fm8-pfgc","url":"https://github.com/advisories/GHSA-38j3-6fm8-pfgc","licence":"CC-BY-4.0","modified":"2024-02-16T08:22:06.250Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-40660","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40660","licence":"Public domain","modified":"2026-06-17T04:07:13.960Z"}],"updatedAt":"2026-11-25T22:58:07.656Z","epss":{"score":0.01037,"percentile":0.6486,"date":"2026-12-01T12:00:22.000Z"}}