{"answers":{"affected":"4 open source packages ship an affected version, including castor:castor and org.codehaus.castor:castor. It affects 3 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3004 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2014-3004 is a medium-severity vulnerability in Opensuse Opensuse, published on 11 Jun 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2014-3004 and fix it if it is affected.\n\nWhat it is: CVE-2014-3004 is a medium-severity vulnerability in Opensuse Opensuse, published on 11 Jun 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3004 exists.\n\nAffected packages and fixed versions:\n- castor:castor (Maven): affected all versions up to 1.0; no fix listed\n- castor:castor (Maven): affected all versions up to 1.0; no fix listed\n- org.codehaus.castor:castor (Maven): affected all versions; fixed in 1.3.3\n- org.codehaus.castor:castor (Maven): affected all versions; fixed in 1.3.3\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-2014-3004/ (Markdown: https://insights.sbomify.com/CVE-2014-3004/index.md)","id":"CVE-2014-3004","markdown":"https://insights.sbomify.com/CVE-2014-3004/index.md","name":"CVE-2014-3004","record":{"aliases":["CVE-2018-18895","GHSA-jwwr-fjgh-cv2x","MGASA-2014-0556","UBUNTU-CVE-2014-3004"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java XML library","requires_auth":"none","summary":"Attackers can exploit XML External Entity vulnerabilities in the Castor library to read sensitive files or cause denial of service via crafted XML.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"castor","vendor":"castor_project"},{"product":"opensuse","vendor":"opensuse"},{"product":"opensuse","vendor":"opensuse_project"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"The default configuration for the Xerces SAX Parser in Castor before 1.3.3 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XML document.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2014-05-27","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2014-05-27","kind":"exploitdb","ref":"39205","stars":null,"title":"Castor Library - XML External Entity Information Disclosure"}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Restriction of XML External Entity Reference in Castor","id":"CVE-2014-3004","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"opensuse:opensuse","products":["opensuse:opensuse"],"type":"xxe","year":"2014"},"n_packages":4,"n_references":8,"next":{"headline":"XML external entity in n/a","id":"CVE-2014-3005"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.0"],"package":"castor:castor","purl":null,"source":"GHSA-jwwr-fjgh-cv2x"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.0"],"package":"castor:castor","purl":"pkg:maven/castor/castor","source":"GHSA-jwwr-fjgh-cv2x"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.castor:castor","purl":null,"source":"GHSA-jwwr-fjgh-cv2x"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.castor:castor","purl":"pkg:maven/org.codehaus.castor/castor","source":"GHSA-jwwr-fjgh-cv2x"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2014-3003"},"products":["n/a"],"published":"2014-06-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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can exploit XML External Entity vulnerabilities in the Castor library to read sensitive files or cause denial of service via crafted XML.","url":"https://insights.sbomify.com/CVE-2014-3004/"}