CVE-2024-4420
MEDIUM 6.8CVSS 4.0There 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
- 21 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Analyzed
- Weakness
- CWE-116
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 4.0 | MEDIUM 6.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:X/V:D/RE:L/U:Green |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tink_c++cpe:2.3:a:google:tink_c\+\+:*:*:*:*:*:*:*:* |
< 2.1.3 | 2.1.3 |
References
- https://github.com/tink-crypto/tink-cc/issues/4 · Issue Tracking, Patch, Third Party Advisory
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 May 2024)