Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-8929 EUVD-2020-0220GHSA-g5vf-v6wf-7w2rPYSEC-2020-142

Ciphertext integrity weakness in Tink

Published Oct 19, 2020 · Updated Aug 4, 2024 · Assigned by Google

Description

A mis-handling of invalid unicode characters in the Java implementation of Tink versions prior to 1.5 allows an attacker to change the ID part of a ciphertext, which result in the creation of a second ciphertext that can decrypt to the same plaintext. This can be a problem with encrypting deterministic AEAD with a single key, and rely on a unique ciphertext-per-plaintext.

Affected products

VendorProductAffectedFixed
Google Tink stable – < 1.5 1.5

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.google.crypto.tink:tink < 1.5.0 1.5.0 GHSA-g5vf-v6wf-7w2r
PyPI tink < 1.5.0 1.5.0 PYSEC-2020-142

References