CVE-2024-4420 Denial of Service in Tink-cc
MediumCVSS 6.8
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Google Tink | >= 2.0.0, < 2.1.3 | 2.1.3 | Fixed |
| Google Tink (Legacy) | <= 1.7.0 | after 1.7.0 | Fixed |
| Google tink c++ | < 2.1.3 | 2.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Google Tink | >= 2.0.0, < 2.1.3 | 2.1.3 |
| Google Tink (Legacy) | <= 1.7.0 | No fix listed |
| Google tink c++ | < 2.1.3 | 2.1.3 |
References
- github.com issue-tracking patch third-party-advisory