vulnerability
Red Hat JBossEAP: Deserialization of Untrusted Data (CVE-2021-42392)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
10 | (AV:N/AC:L/Au:N/C:C/I:C/A:C) | 2022-01-04 | 2024-09-19 | 2024-12-20 |
Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
2022-01-04
Added
2024-09-19
Modified
2024-12-20
Description
The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. An attacker may pass a JNDI driver name and a URL leading to a LDAP or RMI servers, causing remote code execution. This can be exploited through various attack vectors, most notably through the H2 Console which leads to unauthenticated remote code execution.. A flaw was found in h2. The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. This flaw allows an attacker to use this URL to send another server’s code, causing remote code execution. This issue is exploited through various attack vectors, most notably through the H2 Console, which leads to unauthenticated remote code execution.
Solution
red-hat-jboss-eap-upgrade-latest
References
- CVE-2021-42392
- https://attackerkb.com/topics/CVE-2021-42392
- URL-https://access.redhat.com/security/cve/CVE-2021-42392
- URL-https://bugzilla.redhat.com/show_bug.cgi?id=2039403
- URL-https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6
- URL-https://access.redhat.com/errata/RHSA-2022:4918
- URL-https://access.redhat.com/errata/RHSA-2022:4919
- URL-https://access.redhat.com/errata/RHSA-2022:4922

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.