{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-4420 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-4420 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-4420 is a medium-severity denial of service vulnerability in Google Tink, published on 21 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-4420 and fix it if it is affected.\n\nWhat it is: CVE-2024-4420 is a medium-severity denial of service vulnerability in Google Tink, published on 21 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-4420 in the wild and no public exploit code.\n\nAffected product: Google Tink. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2024-4420/ (Markdown: https://insights.sbomify.com/CVE-2024-4420/index.md)","id":"CVE-2024-4420","markdown":"https://insights.sbomify.com/CVE-2024-4420/index.md","name":"CVE-2024-4420","record":{"aliases":["GHSA-xhph-75hg-j96m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"C++ cryptography library","requires_auth":"low_privilege","summary":"An attacker can crash applications using Tink-cc by providing malformed or deeply nested JSON inputs to the JsonKeysetReader.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"tink_c\\+\\+","vendor":"google"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/S:N/AU:Y/V:D/RE:L/U:Green","version":"4.0"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"There exists a Denial of service vulnerability in Tink-cc in versions prior to 2.1.3.   *  An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input that is not an encoded JSON object, but still a valid encoded JSON element, for example a number or an array. This will crash as Tink just assumes any valid JSON input will contain an object.\n\n  *  An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input containing many nested JSON objects. This may result in a stack overflow.\n\nWe recommend upgrading to version 2.1.3 or above","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Denial of Service in Tink-cc","id":"CVE-2024-4420","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Comparison Slider \u003c= 1.0.5 - Authenticated (Subscriber+) Stored Cross-Site Scripting","id":"CVE-2024-4422"},"packages":[],"prev":{"headline":"Fetch JFT \u003c= 1.8.3 - Authenticated (Administrator+) Stored Cross-Site Scripting","id":"CVE-2024-4419"},"products":["Tink","Tink (Legacy)"],"published":"2024-05-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2024-08-01","vendors":["Google"]},"summary":"An attacker can crash applications using Tink-cc by providing malformed or deeply nested JSON inputs to the JsonKeysetReader.","url":"https://insights.sbomify.com/CVE-2024-4420/"}