{"answers":{"affected":"8 open source packages ship an affected version, including org.apache.myfaces.trinidad:trinidad. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-5019 in the wild and no public exploit code.","fix":"Upgrade org.apache.myfaces.trinidad:trinidad to a fixed version for your release line: 1.2.15, 2.0.2 or 2.1.2.","what":"CVE-2016-5019 is a critical unsafe deserialization vulnerability in n/a, published on 3 Oct 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-5019 and fix it if it is affected.\n\nWhat it is: CVE-2016-5019 is a critical unsafe deserialization vulnerability in n/a, published on 3 Oct 2016. 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-2016-5019 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 1.0.0 up to 1.0.13; no fix listed\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 1.0.0 up to 1.0.13; no fix listed\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 1.2.0; fixed in 1.2.15\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 1.2.0; fixed in 1.2.15\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 2.0.0; fixed in 2.0.2\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 2.0.0; fixed in 2.0.2\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 2.1.0; fixed in 2.1.2\n- org.apache.myfaces.trinidad:trinidad (Maven): affected from 2.1.0; fixed in 2.1.2\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-2016-5019/ (Markdown: https://insights.sbomify.com/CVE-2016-5019/index.md)","id":"CVE-2016-5019","markdown":"https://insights.sbomify.com/CVE-2016-5019/index.md","name":"CVE-2016-5019","record":{"aliases":["GHSA-x7rc-4gqw-3q6q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can execute arbitrary code by sending a crafted serialized view state string to applications using Apache MyFaces Trinidad.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"myfaces_trinidad","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"CoreResponseStateManager in Apache MyFaces Trinidad 1.0.0 through 1.0.13, 1.2.x before 1.2.15, 2.0.x before 2.0.2, and 2.1.x before 2.1.2 might allow attackers to conduct deserialization attacks via a crafted serialized view state string.","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":"Apache MyFaces Trinidad Deserialization Vulnerability","id":"CVE-2016-5019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2016"},"n_packages":8,"n_references":13,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2016-5020"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["1.0.0"],"last_affected":["1.0.13"],"package":"org.apache.myfaces.trinidad:trinidad","purl":null,"source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":[],"introduced":["1.0.0"],"last_affected":["1.0.13"],"package":"org.apache.myfaces.trinidad:trinidad","purl":"pkg:maven/org.apache.myfaces.trinidad/trinidad","source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["1.2.15"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":null,"source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["1.2.15"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":"pkg:maven/org.apache.myfaces.trinidad/trinidad","source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":null,"source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":"pkg:maven/org.apache.myfaces.trinidad/trinidad","source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["2.1.2"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":null,"source":"GHSA-x7rc-4gqw-3q6q"},{"ecosystem":"Maven","fixed":["2.1.2"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.myfaces.trinidad:trinidad","purl":"pkg:maven/org.apache.myfaces.trinidad/trinidad","source":"GHSA-x7rc-4gqw-3q6q"}],"prev":{"headline":"Authentication Bypass Using an Alternate Path or Channel in Apache Tomcat","id":"CVE-2016-5018"},"products":["n/a"],"published":"2016-10-03","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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by sending a crafted serialized view state string to applications using Apache MyFaces Trinidad.","url":"https://insights.sbomify.com/CVE-2016-5019/"}