CVE-2022-35912

Source
https://cve.org/CVERecord?id=CVE-2022-35912
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35912.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35912
Aliases
Related
Published
2022-07-19T16:15:08.697Z
Modified
2026-04-11T23:41:57.811547Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/grails/grails-core

Affected ranges

Type
GIT
Repo
https://github.com/grails/grails-core
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.3.10"
        },
        {
            "fixed": "3.3.15"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.1.1"
        },
        {
            "introduced": "5.0.0"
        },
        {
            "fixed": "5.1.9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.2.0"
        }
    ]
}

Affected versions

Other
archive/master
v3.*
v3.3.10
v3.3.11
v3.3.12
v3.3.13
v3.3.14
v4.*
v4.0.0
v4.0.1
v4.0.10
v4.0.11
v4.0.12
v4.0.13
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v5.*
v5.0.0
v5.0.1
v5.1.1
v5.1.2
v5.1.3
v5.1.4
v5.1.5
v5.1.6
v5.1.7
v5.1.8
v5.2.0

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "source": "https://github.com/grails/grails-core/commit/2279cc53db82674fc3bf527b4c9a8a071ffd7942",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
        },
        "id": "CVE-2022-35912-782c96ef",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "265527345752929269959675063536228266316",
                "253657430198469265743706077559009248439",
                "235959779190895364226641945778270050068",
                "317079240568775686040492947509911246572"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "source": "https://github.com/grails/grails-core/commit/1e3c7077e0c773bd6f20f6f73d332e890abc0c50",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java",
            "function": "testGrailsVersion"
        },
        "id": "CVE-2022-35912-7dc5ce23",
        "deprecated": false,
        "digest": {
            "function_hash": "337336054825846849060651794846366540003",
            "length": 82.0
        }
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/grails/grails-core/commit/1e3c7077e0c773bd6f20f6f73d332e890abc0c50",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
        },
        "id": "CVE-2022-35912-bba1edd0",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "133658545622022813691893546492822193591",
                "231968117220509831045687927920220568529",
                "322518850141335907120383407016704122099",
                "68221056247180651435663117672102194603"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "source": "https://github.com/grails/grails-core/commit/b062a5cfe95835ea43217561db5ab8fa34aefe2b",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java",
            "function": "testGrailsVersion"
        },
        "id": "CVE-2022-35912-bcad145c",
        "deprecated": false,
        "digest": {
            "function_hash": "86599955727034140749407227730922538923",
            "length": 89.0
        }
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/grails/grails-core/commit/b062a5cfe95835ea43217561db5ab8fa34aefe2b",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java"
        },
        "id": "CVE-2022-35912-c19632d7",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "168448992433160026276914504092498461111",
                "212024600673281245820970122453290818013",
                "24168885317386346339111550118646531829",
                "57181071602607972446226234243744107833"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "source": "https://github.com/grails/grails-core/commit/2279cc53db82674fc3bf527b4c9a8a071ffd7942",
        "signature_version": "v1",
        "target": {
            "file": "grails-core/src/test/groovy/grails/util/GrailsUtilTests.java",
            "function": "testGrailsVersion"
        },
        "id": "CVE-2022-35912-f68f530c",
        "deprecated": false,
        "digest": {
            "function_hash": "294856197498714873664731451451100738900",
            "length": 82.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35912.json"
vanir_signatures_modified
"2026-04-11T23:41:57Z"