{"id":"GHSA-6rh6-x8ww-9h97","summary":"Grails framework Remote Code Execution via Data Binding","details":"### Impact\nA 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.  \n\n### Patches\nGrails framework versions 5.2.1, 5.1.9, 4.1.1, and 3.3.15\n\n### References\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35912\nhttps://grails.org/blog/2022-07-18-rce-vulnerability.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* https://grails.org/blog/2022-07-18-rce-vulnerability.html\n*  https://github.com/grails/grails-core/issues/12626\n* Email us at [info@grails.org](mailto:info@grails.org)\n\n### Credit\n\nThis vulnerability was discovered by  [meizjm3i](https://github.com/meizjm3i) and [codeplutos](https://github.com/codeplutos) of AntGroup FG Security Lab\n","aliases":["CVE-2022-35912"],"modified":"2026-07-08T06:27:55.752807417Z","published":"2022-07-21T21:38:28Z","database_specific":{"cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-07-21T21:38:28Z","nvd_published_at":"2022-07-19T16:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/grails/grails-core/security/advisories/GHSA-6rh6-x8ww-9h97"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35912"},{"type":"WEB","url":"https://github.com/grails/grails-core/issues/12626"},{"type":"PACKAGE","url":"https://github.com/grails/grails-core"},{"type":"WEB","url":"https://grails.org/blog/2022-07-18-rce-vulnerability.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/07/20/4"}],"affected":[{"package":{"name":"org.grails:grails-databinding","ecosystem":"Maven","purl":"pkg:maven/org.grails/grails-databinding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.10"},{"fixed":"3.3.15"}]}],"versions":["3.3.10","3.3.13","3.3.14"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-6rh6-x8ww-9h97/GHSA-6rh6-x8ww-9h97.json"}},{"package":{"name":"org.grails:grails-databinding","ecosystem":"Maven","purl":"pkg:maven/org.grails/grails-databinding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.1"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.0.M3","4.1.0.M4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-6rh6-x8ww-9h97/GHSA-6rh6-x8ww-9h97.json"}},{"package":{"name":"org.grails:grails-databinding","ecosystem":"Maven","purl":"pkg:maven/org.grails/grails-databinding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.1.1","5.1.2","5.1.3","5.1.4","5.1.5","5.1.6","5.1.7","5.1.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-6rh6-x8ww-9h97/GHSA-6rh6-x8ww-9h97.json"}},{"package":{"name":"org.grails:grails-databinding","ecosystem":"Maven","purl":"pkg:maven/org.grails/grails-databinding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.1"}]}],"versions":["5.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-6rh6-x8ww-9h97/GHSA-6rh6-x8ww-9h97.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}