Loading...
Skip to main content

CVE-2022-35912 — Vulnerability in org.grails:grails-databinding —...

CRITICAL

Grails framework Remote Code Execution via Data Binding

Published July 21, 2022Updated July 8, 2026Source: osv

Summary

### Impact A vulnerability has been discovered in the Grails data-binding logic which allows for Remote Code Execution in a Grails application. This exploit requires the application to be running on Java 8, either deployed as a WAR to a servlet container, or an executable JAR. ### Patches Grails framework versions 5.2.1, 5.1.9, 4.1.1, and 3.3.15 ### References https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35912 https://grails.org/blog/2022-07-18-rce-vulnerability.html ### For more information If you have any questions or comments about this advisory: * https://grails.org/blog/2022-07-18-rce-vulnerability.html * https://github.com/grails/grails-core/issues/12626 * Email us at [info@grails.org](mailto:info@grails.org) ### Credit This vulnerability was discovered by [meizjm3i](https://github.com/meizjm3i) and [codeplutos](https://github.com/codeplutos) of AntGroup FG Security Lab

Advisory Timeline

  • First published July 21, 2022 (1544 days ago).
  • Last revised July 8, 2026 — 1447 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.grails:grails-databinding to 5.2.1 or later
<!-- Update pom.xml dependency version to 5.2.1 for org.grails:grails-databinding -->
Maven
Update org.grails:grails-databinding to 5.1.9 or later
<!-- Update pom.xml dependency version to 5.1.9 for org.grails:grails-databinding -->
Maven
Update org.grails:grails-databinding to 3.3.15 or later
<!-- Update pom.xml dependency version to 3.3.15 for org.grails:grails-databinding -->
Maven
Update org.grails:grails-databinding to 4.1.1 or later
<!-- Update pom.xml dependency version to 4.1.1 for org.grails:grails-databinding -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.grails:grails-databinding
maven
5.2.05.2.1
org.grails:grails-databinding
maven
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+9 more)5.1.9
org.grails:grails-databinding
maven
3.3.10, 3.3.13, 3.3.143.3.15
org.grails:grails-databinding
maven
4.0.0, 4.0.1, 4.0.10, 4.0.11 (+10 more)4.1.1

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-35912?
Grails framework Remote Code Execution via Data Binding This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-35912?
CVE-2022-35912 affects org.grails:grails-databinding. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-35912 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6rh6-x8ww-9h97

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies