{"answers":{"affected":"4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-9299 exists.","fix":"Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.19.3 or 2.32.","what":"CVE-2016-9299 is a critical unsafe deserialization vulnerability in Fedoraproject Fedora, published on 12 Jan 2017. 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-9299 and fix it if it is affected.\n\nWhat it is: CVE-2016-9299 is a critical unsafe deserialization vulnerability in Fedoraproject Fedora, published on 12 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2016-9299 exists.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.main:jenkins-core (Maven): affected all versions; fixed in 2.19.3\n- org.jenkins-ci.main:jenkins-core (Maven): affected all versions; fixed in 2.19.3\n- org.jenkins-ci.main:jenkins-core (Maven): affected from 2.20; fixed in 2.32\n- org.jenkins-ci.main:jenkins-core (Maven): affected from 2.20; fixed in 2.32\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-9299/ (Markdown: https://insights.sbomify.com/CVE-2016-9299/index.md)","id":"CVE-2016-9299","markdown":"https://insights.sbomify.com/CVE-2016-9299/index.md","name":"CVE-2016-9299","record":{"aliases":["GHSA-2x9h-h3c4-wqqh","MGASA-2016-0406"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins CI server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Jenkins servers by sending crafted serialized Java objects that trigger LDAP queries.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"jenkins","vendor":"jenkins"}],"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-90","name":"Improper Neutralization of Special Elements used in an LDAP Query"}],"description":"The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a crafted serialized Java object, which triggers an LDAP query to a third-party server.","ecosystems":["Maven"],"exploits":{"exploitdb":2,"first_seen":"2016-11-16","github_poc":1,"max_poc_stars":0,"metasploit":1,"nuclei":0,"refs":[{"date":"2016-11-16","kind":"metasploit","ref":"exploit/linux/misc/jenkins_ldap_deserialize","stars":null,"title":"Jenkins CLI HTTP Java Deserialization Vulnerability"},{"date":"2018-05-17","kind":"exploitdb","ref":"44642","stars":null,"title":"Jenkins CLI - HTTP Java Deserialization (Metasploit)"},{"date":"2018-05-17","kind":"exploitdb","ref":"44642","stars":null,"title":"Jenkins CLI - HTTP Java Deserialization (Metasploit)"},{"date":"2022-10-12T09:26:54Z","kind":"github_poc","ref":"https://github.com/r00t4dm/Jenkins-CVE-2016-9299","stars":0,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Improper Neutralization of Special Elements used in an LDAP Query in Jenkins","id":"CVE-2016-9299","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fedoraproject:fedora","products":["fedoraproject:fedora","jenkins:jenkins"],"type":"deserialization","year":"2016"},"n_packages":4,"n_references":10,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2016-9300"},"packages":[{"ecosystem":"Maven","fixed":["2.19.3"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":null,"source":"GHSA-2x9h-h3c4-wqqh"},{"ecosystem":"Maven","fixed":["2.19.3"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"GHSA-2x9h-h3c4-wqqh"},{"ecosystem":"Maven","fixed":["2.32"],"introduced":["2.20"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":null,"source":"GHSA-2x9h-h3c4-wqqh"},{"ecosystem":"Maven","fixed":["2.32"],"introduced":["2.20"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"GHSA-2x9h-h3c4-wqqh"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2016-9298"},"products":["n/a"],"published":"2017-01-12","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on Jenkins servers by sending crafted serialized Java objects that trigger LDAP queries.","url":"https://insights.sbomify.com/CVE-2016-9299/"}