Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS02cmg2LXg4d3ctOWg5N84AAtkJ

Grails framework Remote Code Execution via Data Binding

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:

Credit

This vulnerability was discovered by meizjm3i and codeplutos of AntGroup FG Security Lab

Permalink: https://github.com/advisories/GHSA-6rh6-x8ww-9h97
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cmg2LXg4d3ctOWg5N84AAtkJ
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


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

Identifiers: GHSA-6rh6-x8ww-9h97, CVE-2022-35912
References: Repository: https://github.com/grails/grails-core
Blast Radius: 7.6

Affected Packages

maven:org.grails:grails-databinding
Dependent packages: 7
Dependent repositories: 6
Downloads:
Affected Version Ranges: = 5.2.0, >= 5.0.0, < 5.1.9, >= 4.0.0, < 4.1.1, >= 3.3.10, < 3.3.15
Fixed in: 5.2.1, 5.1.9, 4.1.1, 3.3.15
All affected versions: 3.3.10, 3.3.13, 3.3.14, 4.0.0, 4.0.1, 4.0.5, 4.0.6, 4.0.7, 4.0.8, 4.0.9, 4.0.10, 4.0.11, 4.0.12, 4.0.13, 4.1.0, 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, 5.2.0
All unaffected versions: 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 2.3.11, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 3.0.0, 3.0.1, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.1.13, 3.1.15, 3.1.16, 3.2.0, 3.2.1, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.2.11, 3.2.12, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.15, 3.3.16, 3.3.17, 3.3.18, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 5.1.9, 5.1.10, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5, 5.3.6, 6.0.0, 6.1.0, 6.1.1, 6.1.2, 6.2.0