CVE-2022-23221

Source
https://cve.org/CVERecord?id=CVE-2022-23221
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23221.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-23221
Aliases
Downstream
Published
2022-01-19T00:00:00Z
Modified
2026-06-15T23:36:28.222508Z
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

H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNOREUNKNOWNSETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23221.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/h2database/h2database

Affected ranges

Type
GIT
Repo
https://github.com/h2database/h2database
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "1.1.100"
        },
        {
            "fixed": "2.0.206"
        }
    ],
    "cpe": "cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*",
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

version-1.*
version-1.4.188
version-1.4.190
version-1.4.192
version-1.4.193
version-1.4.194
version-1.4.195
version-1.4.197
version-1.4.198
version-1.4.199
version-1.4.200
version-2.*
version-2.0.202
version-2.0.204

Database specific

vanir_signatures_modified
"2026-06-15T23:36:28Z"
vanir_signatures
[
    {
        "digest": {
            "line_hashes": [
                "272810656635025776199681441561795810929",
                "245591617129835704064380813555882338322",
                "306412481140467524166442158358643941576",
                "171885524935467376214112428467882639055",
                "152693961729231181337235161892963699712",
                "11128620713700209481157025108943595581",
                "229492663452310778701433303382354959535",
                "280099107836224806134227223277985234471"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "id": "CVE-2022-23221-007ddf6d",
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "h2/src/main/org/h2/engine/Constants.java"
        },
        "source": "https://github.com/h2database/h2database/commit/3d957a0aeb509c5976a3489e7867ecbb121280f4"
    },
    {
        "digest": {
            "function_hash": "315764262499076112425286640966310751787",
            "length": 3343.0
        },
        "signature_version": "v1",
        "id": "CVE-2022-23221-2e529f64",
        "signature_type": "Function",
        "deprecated": false,
        "target": {
            "file": "h2/src/tools/org/h2/build/Build.java",
            "function": "javadocImpl"
        },
        "source": "https://github.com/h2database/h2database/commit/3d957a0aeb509c5976a3489e7867ecbb121280f4"
    },
    {
        "digest": {
            "line_hashes": [
                "306343085252609351417168749835012023517",
                "24484998409013538956641732370396970576",
                "62200468007006360416996496122250431518",
                "3323092461967229912768068215658008818"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "id": "CVE-2022-23221-7128582e",
        "signature_type": "Line",
        "deprecated": false,
        "target": {
            "file": "h2/src/tools/org/h2/build/Build.java"
        },
        "source": "https://github.com/h2database/h2database/commit/3d957a0aeb509c5976a3489e7867ecbb121280f4"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-23221.json"