What’s Vulnerable › Vulnerabilities
CVE-2024-4420: Denial of Service in Tink-cc
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-116
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. * 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. We recommend upgrading to version 2.1.3 or above
Affected products
- Google Tink C++: before 2.1.3 — fixed in 2.1.3
How to fix
Upgrade to a fixed version: Google Tink C++ 2.1.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-4420 or the next vulnerability affects your stack