CVE-2023-46131
Grails data binding causes JVM crash and/or other denial of service
Description
Impact
A specially crafted web request can lead to a JVM crash or denial of service. Any Grails framework application using Grails data binding is vulnerable.
Patches
Patches are available for Grails 3 and later.
Workarounds
No workaround is possible except to avoid data binding to request data.
References
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.grails » grails-databinding | >= 2.0.0, < 3.3.17>= 4.0.0, < 4.1.3>= 5.0.0, < 5.3.4>= 6.0.0, < 6.1.0 | 3.3.17, 4.1.3, 5.3.4, 6.1.0 |
Blast radius
51% of the dependent artifacts (129) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 394 |
| 2 hops | 1,730 |
| 3 hops | 2,476 |
| 4 hops | 1,593 |
| 5 hops | 2,420 |
| 6 hops | 196 |
Most used dependents
- com.bertramlabs.plugins » asset-pipeline-grails92 usages
- org.grails.plugins » hibernate73 usages
- org.grails » grails-web-boot68 usages
- org.grails.plugins » spring-security-core68 usages
- org.grails » grails-plugin-url-mappings54 usages
- org.grails » grails-plugin-rest54 usages
- org.grails » grails-plugin-databinding46 usages
- org.grails » grails-plugin-i18n46 usages
- org.grails » grails-logging46 usages
- io.macgyver » macgyver-core44 usages
- org.grails » grails-web43 usages
- org.grails » grails-plugin-interceptors43 usages
- org.grails » grails-dependencies42 usages
- org.grails.plugins » gsp40 usages
- org.grails » grails-plugin-testing31 usages
Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2023-46131 | nvd.nist.gov |
| Package | grails/grails-core | github.com |
| Web | grails/grails-core advisory GHSA-3pjv-r7w4-2cf5 | github.com |
| Web | grails/grails-core issue #13302 | github.com |
| Web | grails/grails-core commit 74326bd | github.com |
| Web | grails/grails-core commit c401faa | github.com |
| Web | blog/2023-12-20-cve-data-binding-dos.html | grails.org |
