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
References
Link Resource
https://github.com/tink-crypto/tink-cc/issues/4 Issue Tracking Patch Third Party Advisory
https://github.com/tink-crypto/tink-cc/issues/4 Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:google:tink_c\+\+:*:*:*:*:*:*:*:*

History

05 Jun 2025, 14:41

Type Values Removed Values Added
References () https://github.com/tink-crypto/tink-cc/issues/4 - () https://github.com/tink-crypto/tink-cc/issues/4 - Issue Tracking, Patch, Third Party Advisory
CPE cpe:2.3:a:google:tink_c\+\+:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Google
Google tink C\+\+

21 Nov 2024, 09:42

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de denegación de servicio en Tink-cc en versiones anteriores a la 2.1.3. * Un adversario puede bloquear archivos binarios usando crypto::tink::JsonKeysetReader en tink-cc al proporcionar una entrada que no es un objeto JSON codificado, pero que sigue siendo un elemento JSON codificado válido, por ejemplo, un número o una matriz. Esto fallará ya que Tink simplemente asume que cualquier entrada JSON válida contendrá un objeto. * Un adversario puede bloquear archivos binarios usando crypto::tink::JsonKeysetReader en tink-cc al proporcionar una entrada que contiene muchos objetos JSON anidados. Esto puede provocar un desbordamiento de la pila. Recomendamos actualizar a la versión 2.1.3 o superior.
References () https://github.com/tink-crypto/tink-cc/issues/4 - () https://github.com/tink-crypto/tink-cc/issues/4 -

21 May 2024, 12:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 12:15

Updated : 2025-06-05 14:41


NVD link : CVE-2024-4420

Mitre link : CVE-2024-4420

CVE.ORG link : CVE-2024-4420


JSON object : View

Products Affected

google

  • tink_c\+\+
CWE
CWE-116

Improper Encoding or Escaping of Output