CVE-2022-35912
CRITICAL 9.8CVSS 3.1Grails framework Remote Code Execution via Data Binding
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.
- Published
- 19 Jul 2022
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-6rh6-x8ww-9h97
- Sources
- NVDJSONOSV GHSA-6rh6-x8ww-9h97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | grails | grailscpe:2.3:a:grails:grails:*:*:*:*:*:*:*:* |
>= 3.3.10, < 3.3.15 | 3.3.15 |
| NVD | grails | grailscpe:2.3:a:grails:grails:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.1.1 | 4.1.1 |
| NVD | grails | grailscpe:2.3:a:grails:grails:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.1.9 | 5.1.9 |
| NVD | grails | grailscpe:2.3:a:grails:grails:5.2.0:*:*:*:*:*:*:* |
= 5.2.0 | |
| OSV | Maven | org.grails:grails-databinding | >= 3.3.10, < 3.3.15 | 3.3.15 |
| OSV | Maven | org.grails:grails-databinding | >= 4.0.0, < 4.1.1 | 4.1.1 |
| OSV | Maven | org.grails:grails-databinding | >= 5.0.0, < 5.1.9 | 5.1.9 |
| OSV | Maven | org.grails:grails-databinding | >= 5.2.0, < 5.2.1 | 5.2.1 |
References
- http://www.openwall.com/lists/oss-security/2022/07/20/4 · Mailing List, Third Party Advisory, WEB
- https://github.com/grails/grails-core/issues/12626 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/grails/grails-core/security/advisories/GHSA-6rh6-x8ww-9h97 · Third Party Advisory, WEB
- https://grails.org/blog/2022-07-18-rce-vulnerability.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-35912 · ADVISORY
- https://github.com/grails/grails-core · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2022)