Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2018-10054: H2 1.4.197, as used in Datomic before 0.9.5697 and other products, allows remote code execution because CREATE

60
This week
HIGH 8.8UPGRADEDOWNGRADE

CVE-2018-10054 is a high-severity flaw (CVSS 8.8) affecting datomic, h2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance33.7% (top 2%)
CISA exploited listNo
WeaknessCWE-20
Published2018-04-11
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: cognitect · h2database

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

cognitect datomic UPGRADE
Affected: < 0.9.5697
Fixed in: 0.9.5697
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy datomic || rpm -q datomic || datomic --version
2. UPGRADE to 0.9.5697 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade datomic
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade datomic
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
h2database h2 DOWNGRADE
Affected: 1.4.197
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.4.197
1. Check installed version
apt-cache policy h2 || rpm -q h2 || h2 --version
2. No fixed release: DOWNGRADE to a release before 1.4.197 (Debian / Ubuntu)
apt-cache madison h2 sudo apt install h2=<VERSION_BEFORE_1.4.197> sudo apt-mark hold h2
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list h2 sudo dnf downgrade h2-<VERSION_BEFORE_1.4.197> sudo dnf versionlock add h2
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2018-10054?

datomic: upgrade to 0.9.5697; h2: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2018-10054 being exploited?

CVE-2018-10054 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2018-10054 affect?

CVE-2018-10054 affects datomic, h2. Severity is high (CVSS 8.8). 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 environme

How urgent is CVE-2018-10054?

Priority 60/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference

Software pages

Java vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.