CVE-2021-42392
h2: Remote Code Execution in Console
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, GHSA. Daha düşük diyenler: Ubuntu (yüksek), Red Hat (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.h2database:h2 | 2.0.206 |
| debian 10 | h2database | 1.4.197-4+deb10u1 |
| debian 11 | h2database | 1.4.197-4+deb11u1 |
| debian 12 | h2database | 2.1.210-1 |
| debian 13 | h2database | 2.1.210-1 |
| debian 14 | h2database | 2.1.210-1 |
| debian 9 | h2database | 1.4.193-1+deb9u1 |
| echo | h2database | 2.1.210-1 |
| ubuntu 16.04-ESM | h2database | 1.4.191-1ubuntu0.1~esm1 |
| ubuntu 18.04-ESM | h2database | 1.4.196-2ubuntu0.1~esm1 |
| ubuntu 20.04 | h2database | 1.4.197-4+deb10u1build0.20.04.1 |
| ubuntu 20.04-ESM | h2database | 1.4.197-4+deb10u1build0.20.04.1 |
14 kaynaktaki 14 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.h2database:h2 | 2.0.206 |
| debian 10 | h2database | 1.4.197-4+deb10u1 |
| debian 11 | h2database | 1.4.197-4+deb11u1 |
| debian 12 | h2database | 2.1.210-1 |
| debian 13 | h2database | 2.1.210-1 |
| debian 14 | h2database | 2.1.210-1 |
| debian 9 | h2database | 1.4.193-1+deb9u1 |
| echo | h2database | 2.1.210-1 |
| ubuntu 16.04-ESM | h2database | 1.4.191-1ubuntu0.1~esm1 |
| ubuntu 18.04-ESM | h2database | 1.4.196-2ubuntu0.1~esm1 |
| ubuntu 20.04 | h2database | 1.4.197-4+deb10u1build0.20.04.1 |
| ubuntu 20.04-ESM | h2database | 1.4.197-4+deb10u1build0.20.04.1 |
| ubuntu 21.10 | h2database | 1.4.197-4+deb10u1build0.21.10.1 |
| ubuntu 22.04 | h2database | 2.1.210+really1.4.197-1 |
Referanslar
- https://access.redhat.com/security/cve/CVE-2021-42392
- https://github.com/h2database/h2database
- https://github.com/h2database/h2database/releases/tag/version-2.0.206
- https://github.com/h2database/h2database/security/advisories/GHSA-h376-j262-vhq6
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console
- https://jfrog.com/blog/the-jndi-strikes-back-unauthenticated-rce-in-h2-database-console/
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-42392
17 referansın hepsi
- https://security.netapp.com/advisory/ntap-20220119-0001
- https://security.netapp.com/advisory/ntap-20220119-0001/
- https://ubuntu.com/security/notices/USN-5365-1
- https://ubuntu.com/security/notices/USN-6834-1
- https://www.cve.org/CVERecord?id=CVE-2021-42392
- https://www.debian.org/security/2022/dsa-5076
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console
- https://www.secpod.com/blog/log4shell-critical-remote-code-execution-vulnerability-in-h2database-console/