CVE-2018-10054
Cognitect Datomic vulnerability
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
Datomic, H2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cognitect Datomic runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.datomic.com/2018/03/important-security-update.html · Vendor Advisory
- forum.datomic.com/t/important-security-update-0-9-5697/379 · Vendor Advisory
- mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html · Third Party Advisory
- www.exploit-db.com/exploits/44422/ · Third Party Advisory
- github.com/h2database/h2database/issues/1225
- github.com/h2database/h2database/issues/1808#issuecomment-599203115
- github.com/h2database/h2database/issues/3099
- lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3
- nvd.nist.gov/vuln/detail/CVE-2018-10054
- cve.org/CVERecord?id=CVE-2018-10054
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.