{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.cayenne:cayenne-parent. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-11758 in the wild and no public exploit code.","fix":"Upgrade org.apache.cayenne:cayenne-parent to a fixed version for your release line: 3.1.3 or 4.1.","what":"CVE-2018-11758 is a high-severity vulnerability in Apache Cayenne, published on 22 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-11758 and fix it if it is affected.\n\nWhat it is: CVE-2018-11758 is a high-severity vulnerability in Apache Cayenne, published on 22 Aug 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-11758 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.cayenne:cayenne-parent (Maven): affected all versions; fixed in 3.1.3\n- org.apache.cayenne:cayenne-parent (Maven): affected all versions; fixed in 3.1.3\n- org.apache.cayenne:cayenne-parent (Maven): affected from 4.0; fixed in 4.1\n- org.apache.cayenne:cayenne-parent (Maven): affected from 4.0; fixed in 4.1\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-11758/ (Markdown: https://insights.sbomify.com/CVE-2018-11758/index.md)","id":"CVE-2018-11758","markdown":"https://insights.sbomify.com/CVE-2018-11758/index.md","name":"CVE-2018-11758","record":{"aliases":["GHSA-85hw-w436-c725"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Cayenne Modeler","requires_auth":"none","summary":"An attacker can read local files or cause denial of service by tricking a user into opening a malicious XML file in Apache Cayenne Modeler.","user_interaction":"required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cayenne","vendor":"apache"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"This affects Apache Cayenne 4.1.M1, 3.2.M1, 4.0.M2 to 4.0.M5, 4.0.B1, 4.0.B2, 4.0.RC1, 3.1, 3.1.1, 3.1.2. CayenneModeler is a desktop GUI tool shipped with Apache Cayenne and intended for editing Cayenne ORM models stored as XML files. If an attacker tricks a user of CayenneModeler into opening a malicious XML file, the attacker will be able to instruct the XML parser built into CayenneModeler to transfer files from a local machine to a remote machine controlled by the attacker. The cause of the issue is XML parser processing XML External Entity (XXE) declarations included in XML. The vulnerability is addressed in Cayenne by disabling XXE processing in all operations that require XML parsing.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XML External Entity Reference in Apache Cayenne","id":"CVE-2018-11758","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2018"},"n_packages":4,"n_references":2,"next":{"headline":"Path traversal in Apache Tomcat Connectors","id":"CVE-2018-11759"},"packages":[{"ecosystem":"Maven","fixed":["3.1.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cayenne:cayenne-parent","purl":null,"source":"GHSA-85hw-w436-c725"},{"ecosystem":"Maven","fixed":["3.1.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cayenne:cayenne-parent","purl":"pkg:maven/org.apache.cayenne/cayenne-parent","source":"GHSA-85hw-w436-c725"},{"ecosystem":"Maven","fixed":["4.1"],"introduced":["4.0"],"last_affected":[],"package":"org.apache.cayenne:cayenne-parent","purl":null,"source":"GHSA-85hw-w436-c725"},{"ecosystem":"Maven","fixed":["4.1"],"introduced":["4.0"],"last_affected":[],"package":"org.apache.cayenne:cayenne-parent","purl":"pkg:maven/org.apache.cayenne/cayenne-parent","source":"GHSA-85hw-w436-c725"}],"prev":{"headline":"Code injection in Docker Skeleton Runtime for Apache OpenWhisk","id":"CVE-2018-11757"},"products":["Apache Cayenne"],"published":"2018-08-22","related":[{"cvss_score":8.8,"headline":"Deserialization of untrusted data in the Hessian Component of Apache Cayenne 4.1 with older Java versions","id":"CVE-2022-24289","kev_date_added":null,"published":"2022-02-11"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"An attacker can read local files or cause denial of service by tricking a user into opening a malicious XML file in Apache Cayenne Modeler.","url":"https://insights.sbomify.com/CVE-2018-11758/"}