CVE-2022-35912Grails
Critical 9.8 No auth needed
Follow: this CVE · Grails · Grails We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Jul 19, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Grails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.grails:grails-databinding |
≥ 3.3.10 < 3.3.15 |
3.3.15 |
— |
| Maven | org.grails:grails-databinding |
≥ 4.0.0 < 4.1.1 |
4.1.1 |
— |
| Maven | org.grails:grails-databinding |
≥ 5.0.0 < 5.1.9 |
5.1.9 |
— |
| Maven | org.grails:grails-databinding |
≥ 5.2.0 < 5.2.1 |
5.2.1 |
— |
Per OSV / GitHub Advisories (GHSA-6rh6-x8ww-9h97). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| grails | grails | ≥ 3.3.10 < 3.3.15 |
| grails | grails | ≥ 4.0.0 < 4.1.1 |
| grails | grails | ≥ 5.0.0 < 5.1.9 |
| grails | grails | 5.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Third Party Advisory
- grails.org Vendor Advisory