{"answers":{"affected":"4 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-46877 in the wild and no public exploit code.","fix":"Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.12.6 or 2.13.1.","what":"CVE-2021-46877 is a high-severity denial of service vulnerability in Fasterxml Jackson-Databind, published on 18 Mar 2023. 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-46877 and fix it if it is affected.\n\nWhat it is: CVE-2021-46877 is a high-severity denial of service vulnerability in Fasterxml Jackson-Databind, published on 18 Mar 2023. 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-2021-46877 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.10.0; fixed in 2.12.6\n- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.10.0; fixed in 2.12.6\n- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.13.0; fixed in 2.13.1\n- com.fasterxml.jackson.core:jackson-databind (Maven): affected from 2.13.0; fixed in 2.13.1\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-46877/ (Markdown: https://insights.sbomify.com/CVE-2021-46877/index.md)","id":"CVE-2021-46877","markdown":"https://insights.sbomify.com/CVE-2021-46877/index.md","name":"CVE-2021-46877","record":{"aliases":["DEBIAN-CVE-2021-46877","GHSA-3x8x-79m2-3w2w","MINI-6p6p-mg4p-vvqr","ROOT-APP-MAVEN-CVE-2021-46877","UBUNTU-CVE-2021-46877"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java JSON library","requires_auth":"none","summary":"Attackers can cause denial of service via excessive heap usage in jackson-databind during JsonNode JDK serialization.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jackson-databind","vendor":"fasterxml"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","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-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1 allows attackers to cause a denial of service (2 GB transient heap usage per read) in uncommon situations involving JsonNode JDK serialization.","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":"jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode","id":"CVE-2021-46877","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fasterxml:jackson-databind","products":["fasterxml:jackson-databind"],"type":"denial_of_service","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"Use after free in n/a","id":"CVE-2021-46878"},"packages":[{"ecosystem":"Maven","fixed":["2.12.6"],"introduced":["2.10.0"],"last_affected":[],"package":"com.fasterxml.jackson.core:jackson-databind","purl":null,"source":"GHSA-3x8x-79m2-3w2w"},{"ecosystem":"Maven","fixed":["2.12.6"],"introduced":["2.10.0"],"last_affected":[],"package":"com.fasterxml.jackson.core:jackson-databind","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-databind","source":"GHSA-3x8x-79m2-3w2w"},{"ecosystem":"Maven","fixed":["2.13.1"],"introduced":["2.13.0"],"last_affected":[],"package":"com.fasterxml.jackson.core:jackson-databind","purl":null,"source":"GHSA-3x8x-79m2-3w2w"},{"ecosystem":"Maven","fixed":["2.13.1"],"introduced":["2.13.0"],"last_affected":[],"package":"com.fasterxml.jackson.core:jackson-databind","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-databind","source":"GHSA-3x8x-79m2-3w2w"}],"prev":{"headline":"/user/sessions endpoint allows detecting valid accounts","id":"CVE-2021-46876"},"products":["n/a"],"published":"2023-03-18","related":[{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in jackson-databind","id":"CVE-2018-11307","kev_date_added":null,"published":"2019-07-09"},{"cvss_score":8.1,"headline":"jackson-databind: PolymorphicTypeValidator bypass via generic type parameters allows arbitrary class instantiation","id":"CVE-2026-54512","kev_date_added":null,"published":"2026-06-23"},{"cvss_score":8.1,"headline":"jackson-databind: Array subtype allowlist bypass in BasicPolymorphicTypeValidator (allowIfSubTypeIsArray)","id":"CVE-2026-54513","kev_date_added":null,"published":"2026-06-23"},{"cvss_score":8.1,"headline":"Deserialization of untrusted data in Jackson Databind","id":"CVE-2020-14060","kev_date_added":null,"published":"2020-06-14"},{"cvss_score":7.5,"headline":"Polymorphic deserialization of malicious object in jackson-databind","id":"CVE-2019-14893","kev_date_added":null,"published":"2020-03-02"},{"cvss_score":6.5,"headline":"jackson-databind: @JsonView bypass for unwrapped creator parameters in jackson-databind","id":"CVE-2026-54518","kev_date_added":null,"published":"2026-06-23"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-26","vendors":["n/a"]},"summary":"Attackers can cause denial of service via excessive heap usage in jackson-databind during JsonNode JDK serialization.","url":"https://insights.sbomify.com/CVE-2021-46877/"}