Improper Validation of Array Index Affecting github.com/edgelesssys/contrast/coordinator/internal/transitengineapi package, versions <1.21.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-GOLANG-GITHUBCOMEDGELESSSYSCONTRASTCOORDINATORINTERNALTRANSITENGINEAPI-17756778
  • published1 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

CVE NOT AVAILABLE CWE-129  (opens in a new tab)

How to fix?

Upgrade github.com/edgelesssys/contrast/coordinator/internal/transitengineapi to version 1.21.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Array Index in the UnmarshalJSON function when processing attacker-controlled short ciphertexts. An attacker can cause the server to panic and disrupt service by submitting a specially crafted JSON payload with a base64-encoded ciphertext shorter than the required nonce length. This results in log flooding, failed requests, and potential information disclosure through stack traces in logs. This is only exploitable if the attacker possesses a valid mesh certificate for any WorkloadSecretID.

CVSS Base Scores

version 4.0
version 3.1