{"answers":{"affected":"4 open source packages ship an affected version, including com.alipay.sofa:hessian. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-9212 in the wild and no public exploit code.","fix":"Upgrade com.alipay.sofa:hessian to a fixed version for your release line: 3.3.6 or 4.0.2.","what":"CVE-2019-9212 is a critical unsafe deserialization vulnerability in n/a, published on 27 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-9212 and fix it if it is affected.\n\nWhat it is: CVE-2019-9212 is a critical unsafe deserialization vulnerability in n/a, published on 27 Feb 2019. 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-2019-9212 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.alipay.sofa:hessian (Maven): affected all versions; fixed in 3.3.6\n- com.alipay.sofa:hessian (Maven): affected all versions; fixed in 3.3.6\n- com.alipay.sofa:hessian (Maven): affected from 4.0.0; fixed in 4.0.2\n- com.alipay.sofa:hessian (Maven): affected from 4.0.0; fixed in 4.0.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-2019-9212/ (Markdown: https://insights.sbomify.com/CVE-2019-9212/index.md)","id":"CVE-2019-9212","markdown":"https://insights.sbomify.com/CVE-2019-9212/index.md","name":"CVE-2019-9212","record":{"aliases":["GHSA-pfwp-8pq4-g7pv"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java serialization library","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands via crafted serialized objects due to mishandled blacklisting in SOFA-Hessian.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sofa-hessian","vendor":"antfin"}],"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"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"description":"SOFA-Hessian through 4.0.2 allows remote attackers to execute arbitrary commands via a crafted serialized Hessian object because blacklisting of com.caucho.naming.QName and com.sun.org.apache.xpath.internal.objects.XString is mishandled, related to Resin Gadget. NOTE: The vendor doesn’t consider this issue a vulnerability because the blacklist is being misused. SOFA Hessian supports custom blacklist and a disclaimer was posted encouraging users to update the blacklist or to use the whitelist feature for their specific needs since the blacklist is not being actively updated","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":"Incomplete List of Disallowed Inputs in SOFA-Hessian","id":"CVE-2019-9212","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2019"},"n_packages":4,"n_references":1,"next":{"headline":"Null dereference in n/a","id":"CVE-2019-9213"},"packages":[{"ecosystem":"Maven","fixed":["3.3.6"],"introduced":["0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":null,"source":"GHSA-pfwp-8pq4-g7pv"},{"ecosystem":"Maven","fixed":["3.3.6"],"introduced":["0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":"pkg:maven/com.alipay.sofa/hessian","source":"GHSA-pfwp-8pq4-g7pv"},{"ecosystem":"Maven","fixed":["4.0.2"],"introduced":["4.0.0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":null,"source":"GHSA-pfwp-8pq4-g7pv"},{"ecosystem":"Maven","fixed":["4.0.2"],"introduced":["4.0.0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":"pkg:maven/com.alipay.sofa/hessian","source":"GHSA-pfwp-8pq4-g7pv"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2019-9211"},"products":["n/a"],"published":"2019-02-27","related":[{"cvss_score":9.8,"headline":"Remote Command Execution(RCE) Vulnerbility in sofa-hessian","id":"CVE-2024-46983","kev_date_added":null,"published":"2024-09-19"}],"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-04","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary commands via crafted serialized objects due to mishandled blacklisting in SOFA-Hessian.","url":"https://insights.sbomify.com/CVE-2019-9212/"}