{"answers":{"affected":"2 open source packages ship an affected version, including org.apache-extras.beanshell:bsh. It affects 3 products.","exploited":"There is no known exploitation of CVE-2016-2510 in the wild and no public exploit code.","fix":"Upgrade org.apache-extras.beanshell:bsh to 2.0b6 or later.","what":"CVE-2016-2510 is a high-severity unsafe deserialization vulnerability in Canonical Ubuntu Linux, published on 7 Apr 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-2510 and fix it if it is affected.\n\nWhat it is: CVE-2016-2510 is a high-severity unsafe deserialization vulnerability in Canonical Ubuntu Linux, published on 7 Apr 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-2510 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache-extras.beanshell:bsh (Maven): affected all versions; fixed in 2.0b6\n- org.apache-extras.beanshell:bsh (Maven): affected all versions; fixed in 2.0b6\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-2510/ (Markdown: https://insights.sbomify.com/CVE-2016-2510/index.md)","id":"CVE-2016-2510","markdown":"https://insights.sbomify.com/CVE-2016-2510/index.md","name":"CVE-2016-2510","record":{"aliases":["DEBIAN-CVE-2016-2510","DLA-443-1","DSA-3504-1","GHSA-gxg6-rc6c-v673","SUSE-SU-2016:0699-1","SUSE-SU-2016:0700-1","UBUNTU-CVE-2016-2510","USN-2923-1","openSUSE-SU-2024:10420-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java scripting library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via crafted serialized data in applications using BeanShell with Java serialization or XStream.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"beanshell","vendor":"beanshell"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-19","name":null}],"description":"BeanShell (bsh) before 2.0b6, when included on the classpath by an application that uses Java serialization or XStream, allows remote attackers to execute arbitrary code via crafted serialized data, related to XThis.Handler.","ecosystems":["Maven","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12","SUSE:Linux Enterprise Software Development Kit 12 SP1","openSUSE:Tumbleweed"],"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 Input Validation in BeanShell","id":"CVE-2016-2510","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux"],"type":"deserialization","year":"2016"},"n_packages":6,"n_references":19,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-2511"},"packages":[{"ecosystem":"Maven","fixed":["2.0b6"],"introduced":["0"],"last_affected":[],"package":"org.apache-extras.beanshell:bsh","purl":null,"source":"GHSA-gxg6-rc6c-v673"},{"ecosystem":"Maven","fixed":["2.0b6"],"introduced":["0"],"last_affected":[],"package":"org.apache-extras.beanshell:bsh","purl":"pkg:maven/org.apache-extras.beanshell/bsh","source":"GHSA-gxg6-rc6c-v673"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","fixed":["2.0-318.1"],"introduced":["0"],"last_affected":[],"package":"bsh2","purl":"pkg:rpm/suse/bsh2\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4","source":"SUSE-SU-2016:0699-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12","fixed":["2.0.0.b5-3.2"],"introduced":["0"],"last_affected":[],"package":"bsh2","purl":"pkg:rpm/suse/bsh2\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012","source":"SUSE-SU-2016:0700-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","fixed":["2.0.0.b5-3.2"],"introduced":["0"],"last_affected":[],"package":"bsh2","purl":"pkg:rpm/suse/bsh2\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1","source":"SUSE-SU-2016:0700-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.0.0.b6-2.7"],"introduced":["0"],"last_affected":[],"package":"bsh2","purl":"pkg:rpm/opensuse/bsh2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10420-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2016-2509"},"products":["n/a"],"published":"2016-04-07","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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-05","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via crafted serialized data in applications using BeanShell with Java serialization or XStream.","url":"https://insights.sbomify.com/CVE-2016-2510/"}