{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-8929","id":"CVE-2020-8929","title":"Ciphertext integrity weakness in Tink","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.","descriptionLong":"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.","published":"2020-10-19T12:15:16.000Z","updated":"2026-10-24T14:12:09.205963029Z","reserved":"2020-02-12T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Google"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"Google"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"google.com"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Google LLC Tink"],"affectedProducts":[{"vendor":"Google LLC","product":"Tink","defaultStatus":null,"versions":[{"lessThan":"1.5","status":"affected","version":"stable","versionType":"custom"}],"platforms":["Java"]}],"packages":[{"ecosystem":"Maven","name":"com.google.crypto.tink:tink","purl":"pkg:maven/com.google.crypto.tink/tink","ranges":["<1.5.0"],"fixed":["1.5.0"],"advisory":"GHSA-g5vf-v6wf-7w2r"},{"ecosystem":"PyPI","name":"tink","purl":"pkg:pypi/tink","ranges":["<1.5.0"],"fixed":["1.5.0"],"advisory":"PYSEC-2020-142"}],"cwes":["CWE-176","CWE-327"],"aliases":["GHSA-g5vf-v6wf-7w2r","PYSEC-2020-142"],"references":[{"url":"https://github.com/google/tink/commit/93d839a5865b9d950dffdc9d0bc99b71280a8899","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/google/tink/security/advisories/GHSA-g5vf-v6wf-7w2r","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8929","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tink/PYSEC-2020-142.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00463,"epssPercentile":0.40798,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-8929","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8929","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-8929","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g5vf-v6wf-7w2r","ok":true,"note":"GHSA-g5vf-v6wf-7w2r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-8929","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}