Information Exposure Affecting google/tink package, versions [,1.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GOOGLETINK-2366169
  • published26 Jan 2022
  • disclosed19 Oct 2020
  • creditUnknown

Introduced: 19 Oct 2020

CVE-2020-8929  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade google/tink to version 1.5 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure. 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.

CVSS Base Scores

version 3.1