Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-10054

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."

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10054
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:02 UTC · Revision 1

Source evidence

CVE-2018-10054

core-osv · Original source

Published 11 Apr 2018, 20:29 UTC

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."

osv:CVE-2018-10054
Complete source record
{
  "id": "8c99484a2a576bc79ff3cd2c8abb86201edcd3d92346032a5270b17fb58ff609",
  "url": "https://osv.dev/vulnerability/CVE-2018-10054",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10054",
    "summary": "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.\"",
    "evidence": "osv:CVE-2018-10054",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-10054",
      "aliases": [
        "CVE-2018-10054",
        "GHSA-9pf8-qqhm-7w64"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/h2database/h2database",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c8a861bb1a3f04967ec40cb5e3336535c43af5fb"
                },
                {
                  "last_affected": "c8a861bb1a3f04967ec40cb5e3336535c43af5fb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:h2database:h2:1.4.197:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.197"
                      },
                      {
                        "last_affected": "1.4.197"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.197",
            "version-1.4.197"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10054.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:43.823005995Z",
      "provider": "osv",
      "references": [
        "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://forum.datomic.com/t/important-security-update-0-9-5697/379",
        "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/",
        "https://github.com/h2database/h2database/issues/1225",
        "https://github.com/h2database/h2database/issues/1808#issuecomment-599203115",
        "https://github.com/h2database/h2database/issues/3099"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:cognitect:datomic:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "cognitect:datomic",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.9.5697"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-10054",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380743,
  "published_at": "2018-04-11T20:29:00.86+00:00"
}