{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.activemq:artemis-pom. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-4978 in the wild and no public exploit code.","fix":"Upgrade org.apache.activemq:artemis-pom to 1.4.0 or later.","what":"CVE-2016-4978 is a high-severity unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 Sep 2016. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-4978 and fix it if it is affected.\n\nWhat it is: CVE-2016-4978 is a high-severity unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 27 Sep 2016. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-4978 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.activemq:artemis-pom (Maven): affected all versions; fixed in 1.4.0\n- org.apache.activemq:artemis-pom (Maven): affected all versions; fixed in 1.4.0\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-4978/ (Markdown: https://insights.sbomify.com/CVE-2016-4978/index.md)","id":"CVE-2016-4978","markdown":"https://insights.sbomify.com/CVE-2016-4978/index.md","name":"CVE-2016-4978","record":{"aliases":["GHSA-r9vv-xj4w-g8m8"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache ActiveMQ Artemis","requires_auth":"high_privilege","summary":"Remote authenticated users can execute arbitrary code via unsafe deserialization in Apache ActiveMQ Artemis message handling.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"artemis","vendor":"apache"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"The getObject method of the javax.jms.ObjectMessage class in the (1) JMS Core client, (2) Artemis broker, and (3) Artemis REST component in Apache ActiveMQ Artemis before 1.4.0 might allow remote authenticated users with permission to send messages to the Artemis broker to deserialize arbitrary objects and execute arbitrary code by leveraging gadget classes being present on the Artemis classpath.","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 ActiveMQ Artemis RCE Via Deserialization Gadget Chain","id":"CVE-2016-4978","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"deserialization","year":"2016"},"n_packages":2,"n_references":20,"next":{"headline":"Auth bypass in n/a","id":"CVE-2016-4979"},"packages":[{"ecosystem":"Maven","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.activemq:artemis-pom","purl":null,"source":"GHSA-r9vv-xj4w-g8m8"},{"ecosystem":"Maven","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.activemq:artemis-pom","purl":"pkg:maven/org.apache.activemq/artemis-pom","source":"GHSA-r9vv-xj4w-g8m8"}],"prev":{"headline":"Spring Security OAuth vulnerable to remote code execution (RCE) via specially crafted request using whitelabel views","id":"CVE-2016-4977"},"products":["n/a"],"published":"2016-09-27","related":[{"cvss_score":9.8,"headline":"Apache Artemis, Apache ActiveMQ Artemis: Missing authentication on CORE protocol session reattachment","id":"CVE-2026-57967","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":9.3,"headline":"Apache Artemis, Apache ActiveMQ Artemis: Auth bypass for Core downstream federation","id":"CVE-2026-27446","kev_date_added":null,"published":"2026-03-04"},{"cvss_score":9.1,"headline":"Information disclosure in Apache ActiveMQ Artemis","id":"CVE-2026-49364","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":9.1,"headline":"Missing authorization in Apache ActiveMQ Artemis","id":"CVE-2026-67593","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":8.8,"headline":"Apache ActiveMQ Artemis: Authenticated users could perform RCE via Jolokia MBeans","id":"CVE-2023-50780","kev_date_added":null,"published":"2024-10-14"},{"cvss_score":7.5,"headline":"Missing authorization in Apache ActiveMQ Artemis","id":"CVE-2026-49362","kev_date_added":null,"published":"2026-09-10"},{"cvss_score":7.5,"headline":"Information disclosure in Apache ActiveMQ Artemis","id":"CVE-2026-49363","kev_date_added":null,"published":"2026-09-10"}],"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":"Remote authenticated users can execute arbitrary code via unsafe deserialization in Apache ActiveMQ Artemis message handling.","url":"https://insights.sbomify.com/CVE-2016-4978/"}