{"answers":{"affected":"2 open source packages ship an affected version, including com.squareup.retrofit2:retrofit. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1000844 in the wild and no public exploit code.","fix":"Upgrade com.squareup.retrofit2:retrofit to 2.5.0 or later.","what":"CVE-2018-1000844 is a critical vulnerability in n/a, published on 20 Dec 2018."},"fix_prompt":"Check this codebase for CVE-2018-1000844 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000844 is a critical vulnerability in n/a, published on 20 Dec 2018. \nExploitation: There is no known exploitation of CVE-2018-1000844 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.squareup.retrofit2:retrofit (Maven): affected from 2.0.0; fixed in 2.5.0\n- com.squareup.retrofit2:retrofit (Maven): affected from 2.0.0; fixed in 2.5.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-2018-1000844/ (Markdown: https://insights.sbomify.com/CVE-2018-1000844/index.md)","id":"CVE-2018-1000844","markdown":"https://insights.sbomify.com/CVE-2018-1000844/index.md","name":"CVE-2018-1000844","record":{"aliases":["GHSA-j379-9jr9-w5cq"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"retrofit","vendor":"squareup"}],"cvss":{"score":9.1,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"Square Open Source Retrofit version Prior to commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437 contains a XML External Entity (XXE) vulnerability in JAXB that can result in An attacker could use this to remotely read files from the file system or to perform SSRF.. This vulnerability appears to have been fixed in After commit 4a693c5aeeef2be6c7ecf80e7b5ec79f6ab59437.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-05-31","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-05-31T20:09:00Z","kind":"github_poc","ref":"https://github.com/epicosy/Retrofit-1","stars":0,"title":"retrofit with CVE-2018-1000844"}],"tier":"poc_unverified"},"has_fix":true,"headline":"XML External Entity (XXE) vulnerability in Square Retrofit","id":"CVE-2018-1000844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2018"},"n_packages":2,"n_references":1,"next":{"headline":"FreshDNS version 1.0.3 and earlier contains a Cross ite Request Forgery (CSRF) vulnerability in All (authenticated) API calls in index.php /","id":"CVE-2018-1000846"},"packages":[{"ecosystem":"Maven","fixed":["2.5.0"],"introduced":["2.0.0"],"last_affected":[],"package":"com.squareup.retrofit2:retrofit","purl":null,"source":"GHSA-j379-9jr9-w5cq"},{"ecosystem":"Maven","fixed":["2.5.0"],"introduced":["2.0.0"],"last_affected":[],"package":"com.squareup.retrofit2:retrofit","purl":"pkg:maven/com.squareup.retrofit2/retrofit","source":"GHSA-j379-9jr9-w5cq"}],"prev":{"headline":"Cross-Site Request Forgery (CSRF) in Luigi","id":"CVE-2018-1000843"},"products":["n/a"],"published":"2018-12-20","related":[{"cvss_score":7.5,"headline":"Directory Traversal vulnerability in Square Retrofit","id":"CVE-2018-1000850","kev_date_added":null,"published":"2018-12-20"}],"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2018-1000844/"}