Skip to content

Update dependency com.h2database:h2 to v2 [SECURITY]#38

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-h2.version
Open

Update dependency com.h2database:h2 to v2 [SECURITY]#38
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-h2.version

Conversation

@renovate

@renovate renovate Bot commented Nov 28, 2025

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
com.h2database:h2 (source) 1.4.1962.1.210 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


RCE in H2 Console

CVE-2021-42392 / GHSA-h376-j262-vhq6

More information

Details

Impact

H2 Console in versions since 1.1.100 (2008-10-14) to 2.0.204 (2021-12-21) inclusive allows loading of custom classes from remote servers through JNDI.

H2 Console doesn't accept remote connections by default. If remote access was enabled explicitly and some protection method (such as security constraint) wasn't set, an intruder can load own custom class and execute its code in a process with H2 Console (H2 Server process or a web server with H2 Console servlet).

It is also possible to load them by creation a linked table in these versions, but it requires ADMIN privileges and user with ADMIN privileges has full access to the Java process by design. These privileges should never be granted to untrusted users.

Patches

Since version 2.0.206 H2 Console and linked tables explicitly forbid attempts to specify LDAP URLs for JNDI. Only local data sources can be used.

Workarounds

H2 Console should never be available to untrusted users.

-webAllowOthers is a dangerous setting that should be avoided.

H2 Console Servlet deployed on a web server can be protected with a security constraint:
https://h2database.com/html/tutorial.html#usingH2ConsoleServlet
If webAllowOthers is specified, you need to uncomment and edit <security-role> and <security-constraint> as necessary. See documentation of your web server for more details.

References

This issue was found and privately reported to H2 team by JFrog Security's vulnerability research team with detailed information.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Arbitrary code execution in H2 Console

CVE-2022-23221 / GHSA-45hx-wfhj-473x

More information

Details

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.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner November 28, 2025 12:17
@renovate renovate Bot requested review from jordankainos, rajasekharkunchala and ynegi and removed request for a team November 28, 2025 12:17
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 3 times, most recently from 8f0466a to 1a65895 Compare November 28, 2025 17:40
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 6 times, most recently from 6eba834 to 4de3c39 Compare December 8, 2025 16:14
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 5 times, most recently from 36e396a to fc832b3 Compare January 16, 2026 10:05
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 2 times, most recently from 42fc63a to 5640bae Compare February 11, 2026 10:53
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 3 times, most recently from 5e65674 to 9399d2b Compare February 24, 2026 18:23
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 2 times, most recently from d761edf to 41ba2c8 Compare March 18, 2026 16:32
@renovate renovate Bot force-pushed the renovate/major-h2.version branch from 41ba2c8 to 1f6ab3d Compare March 27, 2026 12:34
@renovate renovate Bot changed the title Update dependency com.h2database:h2 to v2 [SECURITY] Update dependency com.h2database:h2 to v2 Mar 27, 2026
@renovate renovate Bot force-pushed the renovate/major-h2.version branch from 1f6ab3d to 2b5318c Compare March 30, 2026 17:54
@renovate renovate Bot changed the title Update dependency com.h2database:h2 to v2 Update dependency com.h2database:h2 to v2 [SECURITY] Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 6 times, most recently from 53aae1b to 774e948 Compare April 8, 2026 16:13
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 6 times, most recently from c9cdebf to 46bba1c Compare April 17, 2026 13:27
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 2 times, most recently from e63578c to a1b42df Compare May 2, 2026 09:00
@renovate renovate Bot force-pushed the renovate/major-h2.version branch from a1b42df to 5d3ebed Compare May 15, 2026 14:38
@renovate renovate Bot changed the title Update dependency com.h2database:h2 to v2 [SECURITY] Update h2.version to v2 [SECURITY] Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 4 times, most recently from a9c99c2 to fb90dd6 Compare June 16, 2026 22:48
@renovate renovate Bot changed the title Update h2.version to v2 [SECURITY] Update h2.version [SECURITY] (major) Jun 22, 2026
@renovate renovate Bot changed the title Update h2.version [SECURITY] (major) Update dependency com.h2database:h2 to v2 [SECURITY] Jun 25, 2026
@renovate renovate Bot force-pushed the renovate/major-h2.version branch 2 times, most recently from fdef9d2 to cba74f4 Compare June 26, 2026 10:25
@renovate renovate Bot force-pushed the renovate/major-h2.version branch from cba74f4 to c58e86a Compare June 26, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants