Cyber Resilience

CVE-2022-23221

Debian Linux 10.0 … 9.0

Public PoCHigh EPSS
Published
19 January 2022
Modified
05 May 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.65 99.2th percentile
Risk Priority 93 floored blend · peak EPSS

Summary

CVE-2022-23221 is a critical-severity Argument Injection (CWE-88) vulnerability in Debian Debian Linux. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 0.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and CM-7 (Least Functionality) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability affects the H2 Console in versions prior to 2.1.210 and stems from insufficient validation of JDBC connection URLs. Attackers can supply a jdbc:h2:mem URL containing the parameters IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT to trigger arbitrary code execution during console initialization. This issue is tracked as CWE-88 and carries a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers with network access to the H2 Console can exploit the flaw by submitting the malicious JDBC URL, resulting in full compromise of the confidentiality, integrity, and availability of the host system. No user interaction or credentials are required.

The H2 project addressed the issue in release 2.1.210, with corresponding updates published through its GitHub security advisories and release notes. Debian subsequently issued patched packages for affected LTS distributions.

The associated EPSS score has remained flat at its peak value of 0.2657 since disclosure, indicating no material increase in observed exploitation interest.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
Unauthenticated remote attacker supplies malicious JDBC URL to the H2 Console, directly enabling exploitation of a public-facing application.
T1059 Command and Scripting Interpreter Executionconfidence: HIGH
Malicious INIT=RUNSCRIPT parameter in the JDBC URL executes arbitrary SQL/scripts, enabling command/script interpreter execution.
T1068 Exploitation for Privilege Escalation Privilege Escalationconfidence: HIGH
Arbitrary code execution via the crafted JDBC URL results in privilege escalation on the host.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2021-42392Same product: Debian Debian Linux
CVE-2024-52301Same product: Debian Debian Linux
CVE-2026-24061Same product: Debian Debian Linux
CVE-2025-21490Same product: Debian Debian Linux
CVE-2018-17456Same product: Debian Debian Linux
CVE-2023-22044Same product: Debian Debian Linux
CVE-2026-25689Shared CWE-88
CVE-2024-41711Shared CWE-88
CVE-2025-12613Shared CWE-88
CVE-2024-3684Shared CWE-88

Affected Assets

h2database
h2
1.1.100 — 2.0.206
debian
debian linux
10.0, 11.0, 9.0
oracle
communications cloud native core console
1.9.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SC-7 Boundary Protection
  • CM-7 Least Functionality
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of untrusted JDBC URL input to reject dangerous parameters such as INIT=RUNSCRIPT before code execution occurs.

prevent

Restricts network exposure of the H2 Console to only authorized internal hosts, blocking unauthenticated remote attackers from reaching the vulnerable endpoint.

prevent

Enforces least functionality by disabling or restricting the H2 Console and unsafe JDBC URL features unless explicitly required.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper input validation and command construction to prevent argument injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect argument injection but does not prevent it at the source.

prevents

Secure development lifecycle mandates input validation and command construction practices that directly prevent argument injection.

prevents

Application security requirements include explicit rules for safe command-line argument handling and escaping.

prevents

Secure architecture principles discourage unsafe command invocation patterns and favor safer APIs.

prevents

Secure coding standards explicitly require proper neutralization of command arguments, directly eliminating CWE-88.

none

Change management can catch unsafe command patterns during reviews but is not a direct mitigation.

References