What’s Vulnerable › Vulnerabilities
CVE-2018-10054
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 33.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-04-11 · updated 2026-06-17
- Weakness: CWE-20
Description
H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution because CREATE ALIAS can execute arbitrary Java code. NOTE: the vendor's position is "h2 is not designed to be run outside of a secure environment."
Affected products
- Cognitect Datomic: before 0.9.5697 — fixed in 0.9.5697
- com.h2database:h2: 1.4.197
How to fix
Upgrade to a fixed version: Cognitect Datomic 0.9.5697. Check the vendor advisory for mitigations.
References
- http://blog.datomic.com/2018/03/important-security-update.html
- https://forum.datomic.com/t/important-security-update-0-9-5697/379
- https://github.com/h2database/h2database/issues/1225
- https://github.com/h2database/h2database/issues/1808#issuecomment-599203115
- https://github.com/h2database/h2database/issues/3099
- https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E
- https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540%40%3Ccommits.nifi.apache.org%3E
- https://mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html
- https://security.netapp.com/advisory/ntap-20240719-0003/
- https://www.exploit-db.com/exploits/44422/
- http://blog.datomic.com/2018/03/important-security-update.html
- https://forum.datomic.com/t/important-security-update-0-9-5697/379
Get alerted when CVE-2018-10054 or the next vulnerability affects your stack