Vulnerability in Google Tink
CVE-2024-4420
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 13.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Tink — versions 2.0.0
- Google Tink C\+\+
- Google Tink (Legacy) — versions 0
Weakness classification (CWE)
References
- github.com/tink-crypto/tink-cc/issues/4 (Patch, Third Party Advisory, Issue Tracking)