Improper Input Validation in Datomic
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.datomic:datomic-free | < 0.9.5697 | 0.9.5697 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10054
- https://github.com/h2database/h2database/issues/1225
- https://github.com/h2database/h2database/issues/1808#issuecomment-599203115
- https://github.com/h2database/h2database/issues/3099
- https://forum.datomic.com/t/important-security-update-0-9-5697/379
- https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E
- https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e@%3Cuser.ignite.apache.org%3E
- https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540%40%3Ccommits.nifi.apache.org%3E
- https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540@%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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Java / Kotlin (Maven)
- Package
com.datomic:datomic-free- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9pf8-qqhm-7w64 - CC BY 4.0
Vulnerability history: com.datomic:datomic-free
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.