CVE-2021-40660
Regular expression denial of service in Delight Nashorn Sandbox
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2021-40660- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-1333
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-40660- Updated
- 2026-11-02
EUVDEUVD-2022-5900 No score
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.
- Record
EUVD-2022-5900- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-38j3-6fm8-pfgc
7.5
Regular expression denial of service in Delight Nashorn Sandbox
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.
- Record
GHSA-38j3-6fm8-pfgc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2021-40660- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-38j3-6fm8-pfgc
7.5
Regular expression denial of service in Delight Nashorn Sandbox
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.
- Record
GHSA-38j3-6fm8-pfgc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-1333
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.javadelight:delight-nashorn-sandboxMaven |
before 0.3.1 | 0.3.1 |
org.javadelight:delight-nashorn-sandboxMaven |
before 0.3.1, plus listed versions 0.0.100.0.110.0.120.0.80.0.9 Show 37 moreShow less0.1.00.1.10.1.100.1.110.1.120.1.130.1.140.1.150.1.160.1.170.1.180.1.190.1.20.1.200.1.210.1.220.1.230.1.240.1.250.1.260.1.270.1.280.1.30.1.300.1.310.1.40.1.50.1.60.1.70.1.80.1.90.2.00.2.10.2.30.2.40.2.50.3.0 |
0.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-40660 is a high vulnerability (CVSS 7.5) in Javadelight Nashorn Sandbox, published June 14, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in org.javadelight:delight-nashorn-sandbox 0.3.1.
References
github.com/javadelight/delight-nashorn-sandbox/issues/117
nvd.nist.gov/vuln/detail/CVE-2021-40660
github.com/javadelight/delight-nashorn-sandbox/pull/139
github.com/javadelight/delight-nashorn-sandbox/commit/b899b8ecad46090fdc042ac7683e1164114a69de
github.com/javadelight/delight-nashorn-sandbox/releases/tag/0.3.1
github.com/advisories/GHSA-38j3-6fm8-pfgc
github.com/javadelight/delight-nashorn-sandbox