{"answers":{"affected":"2 open source packages ship an affected version, including com.alipay.sofa:hessian. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-46983 in the wild and no public exploit code.","fix":"Upgrade com.alipay.sofa:hessian to 3.5.5 or later.","what":"CVE-2024-46983 is a critical unsafe deserialization vulnerability in sofastack sofa-hessian, published on 19 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-46983 and fix it if it is affected.\n\nWhat it is: CVE-2024-46983 is a critical unsafe deserialization vulnerability in sofastack sofa-hessian, published on 19 Sep 2024. 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-2024-46983 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.5.5\n- com.alipay.sofa:hessian (Maven): affected all versions; fixed in 3.5.5\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-2024-46983/ (Markdown: https://insights.sbomify.com/CVE-2024-46983/index.md)","id":"CVE-2024-46983","markdown":"https://insights.sbomify.com/CVE-2024-46983/index.md","name":"CVE-2024-46983","record":{"aliases":["GHSA-c459-2m73-67hj"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java serialization library","requires_auth":"none","summary":"Attackers can achieve remote code execution by bypassing the blacklist mechanism in the SOFA Hessian deserialization library.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sofa-hessian","vendor":"antfin"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"sofa-hessian is an internal improved version of Hessian3/4 powered by Ant Group CO., Ltd. The SOFA Hessian protocol uses a blacklist mechanism to restrict deserialization of potentially dangerous classes for security protection. But there is a gadget chain that can bypass the SOFA Hessian blacklist protection mechanism, and this gadget chain only relies on JDK and does not rely on any third-party components. This issue is fixed by an update to the blacklist, users can upgrade to sofahessian version 3.5.5 to avoid this issue. Users unable to upgrade may maintain a blacklist themselves in the directory `external/serialize.blacklist`.","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":"Remote Command Execution(RCE) Vulnerbility in sofa-hessian","id":"CVE-2024-46983","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Gematik Referenzvalidator has an XXE vulnerability that can lead to a Server Side Request Forgery attack","id":"CVE-2024-46984"},"packages":[{"ecosystem":"Maven","fixed":["3.5.5"],"introduced":["0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":null,"source":"GHSA-c459-2m73-67hj"},{"ecosystem":"Maven","fixed":["3.5.5"],"introduced":["0"],"last_affected":[],"package":"com.alipay.sofa:hessian","purl":"pkg:maven/com.alipay.sofa/hessian","source":"GHSA-c459-2m73-67hj"}],"prev":{"headline":"Cache Poisoning in next.js","id":"CVE-2024-46982"},"products":["sofa-hessian"],"published":"2024-09-19","related":[{"cvss_score":9.8,"headline":"Incomplete List of Disallowed Inputs in SOFA-Hessian","id":"CVE-2019-9212","kev_date_added":null,"published":"2019-02-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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-20","vendors":["sofastack"]},"summary":"Attackers can achieve remote code execution by bypassing the blacklist mechanism in the SOFA Hessian deserialization library.","url":"https://insights.sbomify.com/CVE-2024-46983/"}