{"id":"CVE-2018-10054","aliases":["EUVD-2022-3420","GHSA-9pf8-qqhm-7w64"],"status":"disputed","title":"Improper Input Validation in Datomic","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.\"","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.33742,"percentile":0.984,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2018-04-11T00:00:00Z","modified":"2026-10-20T10:49:43Z","exploits":[{"source":"metasploit","id":"exploit/linux/http/h2_webinterface_rce","title":"H2 Web Interface Create Alias RCE","type":"exploit","platform":"Unix","date":"2018-04-09","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/h2_webinterface_rce"}],"fixes":[{"ecosystem":"Maven","package":"com.datomic:datomic-free","fixed_in":["0.9.5697"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.datomic:datomic-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.5656"},{"fixed":"0.9.5697"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.datomic:datomic-free","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.5697"}]}]}],"products":[{"vendor":"cognitect","product":"datomic"},{"vendor":"h2database","product":"h2"}],"references":[{"url":"https://forum.datomic.com/t/important-security-update-0-9-5697/379","tags":["x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://www.exploit-db.com/exploits/44422/","tags":["exploit","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://blog.datomic.com/2018/03/important-security-update.html","tags":["x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E","tags":["mailing-list","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540%40%3Ccommits.nifi.apache.org%3E","tags":["mailing-list","x_transferred","web"]},{"url":"https://github.com/h2database/h2database/issues/1225","tags":["x_transferred","report","web"]},{"url":"https://github.com/h2database/h2database/issues/3099","tags":["x_transferred","report","web"]},{"url":"https://github.com/h2database/h2database/issues/1808#issuecomment-599203115","tags":["x_transferred","report","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240719-0003/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10054","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e@%3Cuser.ignite.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540@%3Ccommits.nifi.apache.org%3E","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/44422","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240719-0003","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9pf8-qqhm-7w64"}],"sources":{"cve":[{"id":"CVE-2018-10054","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.\"","status":"disputed","published":"2018-04-11T00:00:00Z","modified":"2024-08-05T07:32:00.906Z","updated_at":"2026-11-02T14:35:01.619448Z"}],"euvd":[{"id":"EUVD-2022-3420","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.\"","status":"published","published":"2018-04-11T00:00:00Z","modified":"2024-08-05T07:32:00Z","updated_at":"2026-11-03T02:39:59.5072Z"}],"ghsa":[{"id":"GHSA-9pf8-qqhm-7w64","title":"Improper Input Validation in Datomic","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.","status":"published","published":"2022-05-13T01:30:17Z","modified":"2024-07-19T15:31:46Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:56.530214Z"}],"nvd":[{"id":"CVE-2018-10054","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.\"","status":"disputed","published":"2018-04-11T20:29:00.86Z","modified":"2026-06-17T01:33:25.207Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:25.506659Z"}],"osv":[{"id":"CVE-2018-10054","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.\"","status":"published","published":"2018-04-11T20:29:00.86Z","modified":"2026-10-20T10:49:43.823005995Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.641418Z"},{"id":"GHSA-9pf8-qqhm-7w64","title":"Improper Input Validation in Datomic","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.","status":"published","published":"2022-05-13T01:30:17Z","modified":"2024-07-19T15:31:45Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:43.875515Z"}]}}
