CVE-2018-10054
HIGH 8.8CVSS 3.1Improper 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. NOTE: the vendor's position is "h2 is not designed to be run outside of a secure environment."
- Published
- 11 Apr 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-9pf8-qqhm-7w64
- Sources
- NVDJSONOSV GHSA-9pf8-qqhm-7w64JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cognitect | datomiccpe:2.3:a:cognitect:datomic:*:*:*:*:*:*:*:* |
< 0.9.5697 | 0.9.5697 |
| NVD | h2database | h2cpe:2.3:a:h2database:h2:1.4.197:*:*:*:*:*:*:* |
= 1.4.197 | |
| OSV | Maven | com.datomic:datomic-free | < 0.9.5697 | 0.9.5697 |
References
- http://blog.datomic.com/2018/03/important-security-update.html · Vendor Advisory, WEB
- https://forum.datomic.com/t/important-security-update-0-9-5697/379 · Vendor Advisory, WEB
- https://github.com/h2database/h2database/issues/1225 · WEB
- https://github.com/h2database/h2database/issues/1808#issuecomment-599203115 · WEB
- https://github.com/h2database/h2database/issues/3099 · WEB
- https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540%40%3Ccommits.nifi.apache.org%3E · WEB
- https://mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240719-0003/ · WEB
- https://www.exploit-db.com/exploits/44422/ · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-10054 · ADVISORY
- https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e@%3Cuser.ignite.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540@%3Ccommits.nifi.apache.org%3E · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 11 Apr 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 May 2022)