{"answers":{"affected":"12 open source packages ship an affected version, including org.apache.myfaces.core:myfaces-impl and org.apache.myfaces.shared:myfaces-shared-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2010-2057 in the wild and no public exploit code.","fix":"Upgrade org.apache.myfaces.core:myfaces-impl to a fixed version for your release line: 1.1.8, 1.2.9 or 2.0.1.","what":"CVE-2010-2057 is a medium-severity vulnerability in n/a, published on 20 Oct 2010. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2010-2057 and fix it if it is affected.\n\nWhat it is: CVE-2010-2057 is a medium-severity vulnerability in n/a, published on 20 Oct 2010. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2010-2057 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 1.1.0; fixed in 1.1.8\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 1.1.0; fixed in 1.1.8\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 1.2.0; fixed in 1.2.9\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 1.2.0; fixed in 1.2.9\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.myfaces.core:myfaces-impl (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 1.1.0; fixed in 1.1.8\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 1.1.0; fixed in 1.1.8\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 1.2.0; fixed in 1.2.9\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 1.2.0; fixed in 1.2.9\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 2.0.0; fixed in 2.0.1\n- org.apache.myfaces.shared:myfaces-shared-core (Maven): affected from 2.0.0; fixed in 2.0.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-2010-2057/ (Markdown: https://insights.sbomify.com/CVE-2010-2057/index.md)","id":"CVE-2010-2057","markdown":"https://insights.sbomify.com/CVE-2010-2057/index.md","name":"CVE-2010-2057","record":{"aliases":["GHSA-4fv4-cq5v-x45m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Remote attackers can modify encrypted View State via padding oracle attacks due to missing MAC, compromising data integrity in Apache MyFaces applications.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"myfaces","vendor":"apache"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-310","name":null}],"description":"shared/util/StateUtils.java in Apache MyFaces 1.1.x before 1.1.8, 1.2.x before 1.2.9, and 2.0.x before 2.0.1 uses an encrypted View State without a Message Authentication Code (MAC), which makes it easier for remote attackers to perform successful modifications of the View State via a padding oracle attack.","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":"Improper Authentication in Apache MyFaces","id":"CVE-2010-2057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2010"},"n_packages":12,"n_references":3,"next":{"headline":"Information disclosure in n/a","id":"CVE-2010-2058"},"packages":[{"ecosystem":"Maven","fixed":["1.1.8"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.1.8"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":"pkg:maven/org.apache.myfaces.core/myfaces-impl","source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.2.9"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.2.9"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":"pkg:maven/org.apache.myfaces.core/myfaces-impl","source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.core:myfaces-impl","purl":"pkg:maven/org.apache.myfaces.core/myfaces-impl","source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.1.8"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.1.8"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":"pkg:maven/org.apache.myfaces.shared/myfaces-shared-core","source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.2.9"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["1.2.9"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":"pkg:maven/org.apache.myfaces.shared/myfaces-shared-core","source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":null,"source":"GHSA-4fv4-cq5v-x45m"},{"ecosystem":"Maven","fixed":["2.0.1"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.shared:myfaces-shared-core","purl":"pkg:maven/org.apache.myfaces.shared/myfaces-shared-core","source":"GHSA-4fv4-cq5v-x45m"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2010-2056"},"products":["n/a"],"published":"2010-10-20","related":[{"cvss_score":7.5,"headline":"Cross-Site Request Forgery (CSRF) vulnerability in Apache MyFaces","id":"CVE-2021-26296","kev_date_added":null,"published":"2021-02-19"},{"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":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":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can modify encrypted View State via padding oracle attacks due to missing MAC, compromising data integrity in Apache MyFaces applications.","url":"https://insights.sbomify.com/CVE-2010-2057/"}