CVE-2024-4420

Denial of Service in Tink-cc

Published May 21, 2024 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-44044 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
History
Type Values Removed Values Added
First Time appeared Google
Google tink C\+\+
CPEs cpe:2.3:a:google:tink_c\+\+:*:*:*:*:*:*:*:*
Vendors & Products Google
Google tink C\+\+
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Aug 1, 2024, 8:40 PM
Reserved
May 2, 2024, 11:15 AM
Status
Analyzed
Published
May 21, 2024, 12:15 PM
Modified
Jun 17, 2026, 8:01 AM