CVE-2022-23221

H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the…

Critical · published January 19, 2022

Patch now

High probability of exploitation

CVSS calls it critical at 9.8. It sits in the 99.2th percentile for exploit probability.

CVSS v3.1
9.8
EPSS
65%
Percentile
99.2
In the wild
Unconfirmed
What it is

🔥 A crafty JDBC URL can turn your H2 Console into a playground for remote attackers! Think of it like a sneaky intruder slipping a false delivery order into a restaurant's kitchen — if the chefs don’t check the details, they might end up cooking something dangerous! An attacker could exploit this vulnerability to execute arbitrary code on the server, leading to complete takeover and control. This could mean accessing sensitive data, altering configurations, or even shutting down services — an absolutely devastating scenario for any organization!

Put simply

Think of it like a sneaky intruder slipping a false delivery order into a restaurant's kitchen — if the chefs don’t check the details, they might end up cooking something dangerous! This vulnerability exists in H2 Console before version 2.1.210, where an attacker can manipulate the JDBC URL by including specific parameters that allow for the execution of arbitrary code, bypassing intended security measures.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, leading to complete takeover and control. This could mean accessing sensitive data, altering configurations, or even shutting down services — an absolutely devastating scenario for any organization! Immediately update H2 Console to version 2.1.210 or later to patch this vulnerability. Additionally, review your JDBC configurations to ensure no harmful parameters can be added. Regular audits of your database connection settings are also a smart idea! You've got this! Follow these steps, and you'll keep your system secure and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.64766 · 99.2th percentile
Published
2022-01-19T00:00Z
EPSS history
Timeline
  • 19 JAN 00:00Z
    H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the…
    cvelistv5