{"answers":{"affected":"8 open source packages ship an affected version, including org.apache.myfaces.core:myfaces-core-module. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-26296 in the wild and no public exploit code.","fix":"Upgrade org.apache.myfaces.core:myfaces-core-module to a fixed version for your release line: 2.0.25, 2.1.19, 2.2.14 or 2.3.8.","what":"CVE-2021-26296 is a high-severity vulnerability in Netapp Oncommand Insight, published on 19 Feb 2021. 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-2021-26296 and fix it if it is affected.\n\nWhat it is: CVE-2021-26296 is a high-severity vulnerability in Netapp Oncommand Insight, published on 19 Feb 2021. 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-2021-26296 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected all versions; fixed in 2.0.25\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected all versions; fixed in 2.0.25\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.1.0; fixed in 2.1.19\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.1.0; fixed in 2.1.19\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.2.0; fixed in 2.2.14\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.2.0; fixed in 2.2.14\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.3.0; fixed in 2.3.8\n- org.apache.myfaces.core:myfaces-core-module (Maven): affected from 2.3.0; fixed in 2.3.8\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-2021-26296/ (Markdown: https://insights.sbomify.com/CVE-2021-26296/index.md)","id":"CVE-2021-26296","markdown":"https://insights.sbomify.com/CVE-2021-26296/index.md","name":"CVE-2021-26296","record":{"aliases":["GHSA-gq67-pp9w-43gp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can predict CSRF tokens in Apache MyFaces to trick users into executing unwanted actions, requiring an upgrade to secure versions.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"myfaces","vendor":"apache"},{"product":"oncommand_insight","vendor":"netapp"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"In the default configuration, Apache MyFaces Core versions 2.2.0 to 2.2.13, 2.3.0 to 2.3.7, 2.3-next-M1 to 2.3-next-M4, and 3.0.0-RC1 use cryptographically weak implicit and explicit cross-site request forgery (CSRF) tokens. Due to that limitation, it is possible (although difficult) for an attacker to calculate a future CSRF token value and to use that value to trick a user into executing unwanted actions on an application.","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":"Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces","id":"CVE-2021-26296","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:oncommand_insight","products":["netapp:oncommand_insight"],"type":"csrf","year":"2021"},"n_packages":8,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-26303"},"packages":[{"ecosystem":"Maven","fixed":["2.0.25"],"introduced":["0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":null,"source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.0.25"],"introduced":["0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":"pkg:maven/org.apache.myfaces.core/myfaces-core-module","source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.1.19"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":null,"source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.1.19"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":"pkg:maven/org.apache.myfaces.core/myfaces-core-module","source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.2.14"],"introduced":["2.2.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":null,"source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.2.14"],"introduced":["2.2.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":"pkg:maven/org.apache.myfaces.core/myfaces-core-module","source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.3.8"],"introduced":["2.3.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":null,"source":"GHSA-gq67-pp9w-43gp"},{"ecosystem":"Maven","fixed":["2.3.8"],"introduced":["2.3.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-core-module","purl":"pkg:maven/org.apache.myfaces.core/myfaces-core-module","source":"GHSA-gq67-pp9w-43gp"}],"prev":{"headline":"RCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI","id":"CVE-2021-26295"},"products":["Apache MyFaces Core"],"published":"2021-02-19","related":[{"cvss_score":7.5,"headline":"Apache MyFaces Vulnerable to EL Injection","id":"CVE-2011-4343","kev_date_added":null,"published":"2017-08-08"},{"cvss_score":5,"headline":"Apache MyFaces Vulnerable to Path Traversal","id":"CVE-2011-4367","kev_date_added":null,"published":"2014-06-19"},{"cvss_score":5,"headline":"Improper Authentication in Apache MyFaces","id":"CVE-2010-2057","kev_date_added":null,"published":"2010-10-20"},{"cvss_score":4,"headline":"Apache MyFaces Cross-site Scripting vulnerability","id":"CVE-2010-2086","kev_date_added":null,"published":"2010-05-27"}],"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":"2025-02-13","vendors":["Apache Software Foundation"]},"summary":"Attackers can predict CSRF tokens in Apache MyFaces to trick users into executing unwanted actions, requiring an upgrade to secure versions.","url":"https://insights.sbomify.com/CVE-2021-26296/"}