{"answers":{"affected":"3 open source packages ship an affected version, including com.thoughtworks.xstream:xstream and jenkins. It affects 11 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-43859 exists.","fix":"Upgrade com.thoughtworks.xstream:xstream to 1.4.19 or later.","what":"CVE-2021-43859 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 1 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-43859 and fix it if it is affected.\n\nWhat it is: CVE-2021-43859 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 1 Feb 2022. 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-2021-43859 exists.\n\nAffected packages and fixed versions:\n- com.thoughtworks.xstream:xstream (Maven): affected all versions; fixed in 1.4.19\n- com.thoughtworks.xstream:xstream (Maven): affected all versions; fixed in 1.4.19\n- jenkins (Bitnami): affected all versions; fixed in 2.319.3, 2.334.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-2021-43859/ (Markdown: https://insights.sbomify.com/CVE-2021-43859/index.md)","id":"CVE-2021-43859","markdown":"https://insights.sbomify.com/CVE-2021-43859/index.md","name":"CVE-2021-43859","record":{"aliases":["BIT-jenkins-2021-43859","DEBIAN-CVE-2021-43859","DLA-2924-1","GHSA-rmr5-cpv2-vgjf","OESA-2022-1512","OESA-2022-2066","SUSE-SU-2022:0817-1","UBUNTU-CVE-2021-43859","openSUSE-SU-2022:0817-1","openSUSE-SU-2024:11809-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java XML serialization library","requires_auth":"none","summary":"Remote attackers can cause denial of service by sending highly recursive data to XStream, consuming all CPU resources.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"jenkins","vendor":"jenkins"},{"product":"commerce_guided_search","vendor":"oracle"},{"product":"communications_brm_-_elastic_charging_engine","vendor":"oracle"},{"product":"communications_cloud_native_core_automated_test_suite","vendor":"oracle"},{"product":"communications_diameter_intelligence_hub","vendor":"oracle"},{"product":"communications_policy_management","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"xstream","vendor":"xstream"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"XStream is an open source java library to serialize objects to XML and back again. Versions prior to 1.4.19 may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service only by manipulating the processed input stream. XStream 1.4.19 monitors and accumulates the time it takes to add elements to collections and throws an exception if a set threshold is exceeded. Users are advised to upgrade as soon as possible. Users unable to upgrade may set the NO_REFERENCE mode to prevent recursion. See GHSA-rmr5-cpv2-vgjf for further details on a workaround if an upgrade is not possible.","ecosystems":["Bitnami","Maven","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Manager Server Module 4.1","SUSE:Manager Server Module 4.2","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Denial of Service by injecting highly recursive collections or maps in XStream","id":"CVE-2021-43859","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","jenkins:jenkins","oracle:commerce_guided_search","oracle:communications_cloud_native_core_automated_test_suite","oracle:communications_policy_management","oracle:flexcube_private_banking","oracle:retail_xstore_point_of_service"],"type":"denial_of_service","year":"2021"},"n_packages":9,"n_references":9,"next":{"headline":"Permissions granted to applications can be hidden from the user at install time","id":"CVE-2021-43860"},"packages":[{"ecosystem":"Bitnami","fixed":["2.319.3","2.334.0"],"introduced":["0","2.321.0"],"last_affected":[],"package":"jenkins","purl":"pkg:bitnami/jenkins","source":"BIT-jenkins-2021-43859"},{"ecosystem":"Maven","fixed":["1.4.19"],"introduced":["0"],"last_affected":[],"package":"com.thoughtworks.xstream:xstream","purl":null,"source":"GHSA-rmr5-cpv2-vgjf"},{"ecosystem":"Maven","fixed":["1.4.19"],"introduced":["0"],"last_affected":[],"package":"com.thoughtworks.xstream:xstream","purl":"pkg:maven/com.thoughtworks.xstream/xstream","source":"GHSA-rmr5-cpv2-vgjf"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.4.19-3.18.2"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/suse/xstream\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2022:0817-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["1.4.19-3.18.2"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/suse/xstream\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:0817-1"},{"ecosystem":"SUSE:Manager Server Module 4.1","fixed":["1.4.19-3.18.2"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/suse/xstream\u0026distro=SUSE%20Manager%20Server%20Module%204.1","source":"SUSE-SU-2022:0817-1"},{"ecosystem":"SUSE:Manager Server Module 4.2","fixed":["1.4.19-3.18.2"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/suse/xstream\u0026distro=SUSE%20Manager%20Server%20Module%204.2","source":"SUSE-SU-2022:0817-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.4.19-3.18.2"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/opensuse/xstream\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:0817-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.4.19-1.1"],"introduced":["0"],"last_affected":[],"package":"xstream","purl":"pkg:rpm/opensuse/xstream\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11809-1"}],"prev":{"headline":"User privilege escalation in MinIO","id":"CVE-2021-43858"},"products":["xstream"],"published":"2022-02-01","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["x-stream"]},"summary":"Remote attackers can cause denial of service by sending highly recursive data to XStream, consuming all CPU resources.","url":"https://insights.sbomify.com/CVE-2021-43859/"}