Vulnerability · Published May 21, 2024 · Assigned by Google
CVE-2024-4420Denial of Service in Tink-cc
Medium 6.8
In plain English
A medium-severity security flaw in Tink from Google. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Tink | 2.0.0 – before 2.1.3 | |
| Tink (Legacy) | 0 – through 1.7.0 |
Weakness: CWE-116 · 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