{"answers":{"affected":"12 open source packages ship an affected version, including org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2 and org.apache.cxf.fediz:fediz-spring3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-12631 in the wild and no public exploit code.","fix":"Upgrade org.apache.cxf.fediz:fediz-spring to a fixed version for your release line: 1.3.3 or 1.4.3.","what":"CVE-2017-12631 is a high-severity vulnerability in Apache CXF Fediz, published on 30 Nov 2017. 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-2017-12631 and fix it if it is affected.\n\nWhat it is: CVE-2017-12631 is a high-severity vulnerability in Apache CXF Fediz, published on 30 Nov 2017. 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-2017-12631 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.cxf.fediz:fediz-spring (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring (Maven): affected from 1.4.0; fixed in 1.4.3\n- org.apache.cxf.fediz:fediz-spring (Maven): affected from 1.4.0; fixed in 1.4.3\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected from 1.4.0; fixed in 1.4.3\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected from 1.4.0; fixed in 1.4.3\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected all versions; fixed in 1.3.3\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected from 1.4.0; fixed in 1.4.3\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected from 1.4.0; fixed in 1.4.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-2017-12631/ (Markdown: https://insights.sbomify.com/CVE-2017-12631/index.md)","id":"CVE-2017-12631","markdown":"https://insights.sbomify.com/CVE-2017-12631/index.md","name":"CVE-2017-12631","record":{"aliases":["GHSA-fv7x-4hpc-hf9f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache CXF Fediz","requires_auth":"none","summary":"A CSRF vulnerability in Apache CXF Fediz Spring plugins allows attackers to manipulate user security contexts and roles.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cxf_fediz","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Apache CXF Fediz ships with a number of container-specific plugins to enable WS-Federation for applications. A CSRF (Cross Style Request Forgery) style vulnerability has been found in the Spring 2, Spring 3 and Spring 4 plugins in versions before 1.4.3 and 1.3.3. The vulnerability can result in a security context that is set up using a malicious client's roles for the given enduser.","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":"Moderate severity vulnerability that affects org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2, and org.apache.cxf.fediz:fediz-spring3","id":"CVE-2017-12631","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"csrf","year":"2017"},"n_packages":12,"n_references":9,"next":{"headline":"Apache NiFi host header poisoning issue","id":"CVE-2017-12632"},"packages":[{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring","source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring","source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring2","source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring2","source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.3.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring3","source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":null,"source":"GHSA-fv7x-4hpc-hf9f"},{"ecosystem":"Maven","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring3","source":"GHSA-fv7x-4hpc-hf9f"}],"prev":{"headline":"Apache Drill vulnerable to Cross-site Scripting","id":"CVE-2017-12630"},"products":["Apache CXF Fediz"],"published":"2017-11-30","related":[{"cvss_score":9.8,"headline":"High severity vulnerability that affects org.apache.cxf.fediz:fediz-spring and org.apache.cxf.fediz:fediz-spring2","id":"CVE-2016-4464","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":8.8,"headline":"Moderate severity vulnerability that affects org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9, and org.apache.cxf.fediz:fediz-spring2","id":"CVE-2017-7661","kev_date_added":null,"published":"2017-05-16"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in Apache CXF Fediz","id":"CVE-2017-7662","kev_date_added":null,"published":"2017-05-16"},{"cvss_score":7.5,"headline":"High severity vulnerability that affects org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9, org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2, and org.apache.cxf.fediz:fediz-spring3","id":"CVE-2018-8038","kev_date_added":null,"published":"2018-07-05"},{"cvss_score":7.5,"headline":"Apache CXF Fediz application plugins are vulnerable to Denial of Service (DoS) attacks","id":"CVE-2015-5175","kev_date_added":null,"published":"2017-06-07"}],"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":"A CSRF vulnerability in Apache CXF Fediz Spring plugins allows attackers to manipulate user security contexts and roles.","url":"https://insights.sbomify.com/CVE-2017-12631/"}