{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.9.5697"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.4.197"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c8a861bb1a3f04967ec40cb5e3336535c43af5fb"
            }
          ],
          "repo": "https://github.com/h2database/h2database",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.\"",
  "id": "CVE-2018-10054",
  "modified": "2026-04-01T23:08:41.886213918Z",
  "published": "2018-04-11T20:29:00.860Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/r8aaf4ee16bbaf6204731d4770d96ebb34b258cd79b491f9cdd7f2540%40%3Ccommits.nifi.apache.org%3E"
    },
    {
      "type": "ADVISORY",
      "url": "https://mthbernardes.github.io/rce/2018/03/14/abusing-h2-database-alias.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.exploit-db.com/exploits/44422/"
    },
    {
      "type": "ADVISORY",
      "url": "https://forum.datomic.com/t/important-security-update-0-9-5697/379"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.netapp.com/advisory/ntap-20240719-0003/"
    },
    {
      "type": "ADVISORY",
      "url": "http://blog.datomic.com/2018/03/important-security-update.html"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/h2database/h2database/issues/1225"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/h2database/h2database/issues/1808#issuecomment-599203115"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/h2database/h2database/issues/3099"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}