{"id":"CVE-2024-4420","summary":"Denial of Service in Tink-cc","details":"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\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\n\nWe recommend upgrading to version 2.1.3 or above","modified":"2026-08-12T03:51:27.608505208Z","published":"2024-05-21T11:52:28.398Z","database_specific":{"cna_assigner":"Google","cwe_ids":["CWE-116"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4420.json"},"references":[{"type":"WEB","url":"https://github.com/tink-crypto"},{"type":"WEB","url":"https://github.com/tink-crypto/tink-cc/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4420.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4420"},{"type":"REPORT","url":"https://github.com/tink-crypto/tink-cc/issues/4"},{"type":"PACKAGE","url":"https://github.com/google/tink"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tink-crypto/tink","events":[{"introduced":"0"},{"last_affected":"27b061bb9ed1af1a6f538410bff443290e427e66"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"1.7.0"}]}},{"type":"GIT","repo":"https://github.com/tink-crypto/tink-cc","events":[{"introduced":"808dbb7bd069d41272e8ad6f13947b1a38985df5"},{"fixed":"784e7e542cb8bdf85fbd5a1f2a3c2a911345452f"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:google:tink_c\\+\\+:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.1.3"},{"introduced":"0"}]}}],"versions":["v1.7.0","go/v1.7.0","v1.6.0","go/v1.6.0","v1.5.0","go/v1.5.0","v1.4.0-rc2","go/v1.4.0-rc2","go/integration/hcvault/v1.4.0-rc2","v1.4.0-rc1","go/v1.4.0-rc1","go/integration/hcvault/v1.4.0-rc1","v1.3.0-rc2","v1.3.0-rc1","v1.2.0","v1.2.0-rc4","v1.2.0-rc3","v1.2.0-rc2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4420.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}