{"id":"CVE-2020-8929","published":"2020-10-19T12:15:16Z","modified":"2024-08-04T10:12:11Z","title":"Ciphertext integrity weakness in Tink","vendor":"Google","product":"Tink","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00463,"percentile":0.41019,"provenance":"source"},"cwes":[{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"}],"references":[{"url":"https://github.com/google/tink/commit/93d839a5865b9d950dffdc9d0bc99b71280a8899","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/google/tink/security/advisories/GHSA-g5vf-v6wf-7w2r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.2},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"Tink","versions":[">= stable, < 1.5"]}],"affected":[{"ecosystem":"Maven","package":"com.google.crypto.tink:tink","vulnerableRanges":["<1.5.0"],"patched":["1.5.0"],"from":["GHSA-g5vf-v6wf-7w2r"],"provenance":"source"},{"ecosystem":"PyPI","package":"tink","vulnerableRanges":["<1.5.0"],"patched":["1.5.0"],"from":["PYSEC-2020-142"],"provenance":"source"}],"summary":{"text":"A flaw in the Java implementation of Google's Tink cryptographic library causes it to mishandle invalid Unicode characters in the ciphertext ID portion. An attacker with network access and no authentication or user interaction can alter that ID to produce a second valid ciphertext that decrypts to the same plaintext, which matters most for deterministic AEAD used with a single key and relying on one ciphertext per plaintext.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:01Z"},"euvd":{"id":"EUVD-2020-0220","exploited":false,"provenance":"source"}}