CVE-2024-4420

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-4420
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4420.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-4420
Published
2024-05-21T12:15:08Z
Modified
2025-06-06T03:53:29.681409Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/tink-crypto/tink-cc

Affected ranges

Type
GIT
Repo
https://github.com/tink-crypto/tink-cc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v2.*

v2.1.0
v2.1.1
v2.1.2