{"answers":{"affected":"2 open source packages ship an affected version, including com.datomic:datomic-free. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10054 exists.","fix":"Upgrade com.datomic:datomic-free to 0.9.5697 or later.","what":"CVE-2018-10054 is a high-severity code injection vulnerability in n/a, published on 11 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-10054 and fix it if it is affected.\n\nWhat it is: CVE-2018-10054 is a high-severity code injection vulnerability in n/a, published on 11 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-10054 exists.\n\nAffected packages and fixed versions:\n- com.datomic:datomic-free (Maven): affected all versions; fixed in 0.9.5697\n- com.datomic:datomic-free (Maven): affected all versions; fixed in 0.9.5697\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-10054/ (Markdown: https://insights.sbomify.com/CVE-2018-10054/index.md)","id":"CVE-2018-10054","markdown":"https://insights.sbomify.com/CVE-2018-10054/index.md","name":"CVE-2018-10054","record":{"aliases":["GHSA-9pf8-qqhm-7w64"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"H2 database","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary Java code via the CREATE ALIAS command in the H2 database, affecting applications using this library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"datomic","vendor":"cognitect"},{"product":"h2","vendor":"h2database"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.\"","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2018-04-09","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-04-09","kind":"metasploit","ref":"exploit/linux/http/h2_webinterface_rce","stars":null,"title":"H2 Web Interface Create Alias RCE"}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Input Validation in Datomic","id":"CVE-2018-10054","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":2,"n_references":10,"next":{"headline":"Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow","id":"CVE-2018-10055"},"packages":[{"ecosystem":"Maven","fixed":["0.9.5697"],"introduced":["0"],"last_affected":[],"package":"com.datomic:datomic-free","purl":null,"source":"GHSA-9pf8-qqhm-7w64"},{"ecosystem":"Maven","fixed":["0.9.5697"],"introduced":["0"],"last_affected":[],"package":"com.datomic:datomic-free","purl":"pkg:maven/com.datomic/datomic-free","source":"GHSA-9pf8-qqhm-7w64"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-10052"},"products":["n/a"],"published":"2018-04-11","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary Java code via the CREATE ALIAS command in the H2 database, affecting applications using this library.","url":"https://insights.sbomify.com/CVE-2018-10054/"}