{"answers":{"affected":"2 open source packages ship an affected version, including org.clojure:clojure. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-20189 exists.","fix":"Upgrade org.clojure:clojure to 1.9.0 or later.","what":"CVE-2017-20189 is a critical vulnerability in n/a, published on 22 Jan 2024."},"fix_prompt":"Check this codebase for CVE-2017-20189 and fix it if it is affected.\n\nWhat it is: CVE-2017-20189 is a critical vulnerability in n/a, published on 22 Jan 2024. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-20189 exists.\n\nAffected packages and fixed versions:\n- org.clojure:clojure (Maven): affected all versions; fixed in 1.9.0\n- org.clojure:clojure (Maven): affected all versions; fixed in 1.9.0\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-2017-20189/ (Markdown: https://insights.sbomify.com/CVE-2017-20189/index.md)","id":"CVE-2017-20189","markdown":"https://insights.sbomify.com/CVE-2017-20189/index.md","name":"CVE-2017-20189","record":{"aliases":["DEBIAN-CVE-2017-20189","GHSA-jgxc-8mwq-9xqw","ROOT-APP-MAVEN-CVE-2017-20189","UBUNTU-CVE-2017-20189"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"clojure","vendor":"clojure"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"In Clojure before 1.9.0, classes can be used to construct a serialized object that executes arbitrary code upon deserialization. This is relevant if a server deserializes untrusted objects.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Clojure classes can be used to craft a serialized object that runs arbitrary code on deserialization","id":"CVE-2017-20189","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2017"},"n_packages":2,"n_references":5,"next":{"headline":"Denial of service in n/a","id":"CVE-2017-20190"},"packages":[{"ecosystem":"Maven","fixed":["1.9.0"],"introduced":["0"],"last_affected":[],"package":"org.clojure:clojure","purl":null,"source":"GHSA-jgxc-8mwq-9xqw"},{"ecosystem":"Maven","fixed":["1.9.0"],"introduced":["0"],"last_affected":[],"package":"org.clojure:clojure","purl":"pkg:maven/org.clojure/clojure","source":"GHSA-jgxc-8mwq-9xqw"}],"prev":{"headline":"Zimbra zm-ajax XFormItem.js XFormItem.prototype.setError cross site scripting","id":"CVE-2017-20188"},"products":["n/a"],"published":"2024-01-22","related":[{"cvss_score":7.5,"headline":"Reading specially crafted serializable objects from an untrusted source may cause an infinite loop and denial of service","id":"CVE-2024-22871","kev_date_added":null,"published":"2024-02-29"}],"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)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2017-20189/"}