Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/edgelesssys/contrast
  4. ›
  5. GHSA-vqv5-385r-2hf8

GHSA-vqv5-385r-2hf8: Contrast's unauthenticated recovery allows Coordinator impersonation

February 5, 2025 (updated February 6, 2025)

Recovering coordinators do not verify the seed provided by the recovering party. This allows an attacker to set up a coordinator with a manifest that passes validation, but with a secret seed controlled by the attacker.

If network traffic is redirected from the legitimate coordinator to the attacker’s coordinator, a workload owner is susceptible to impersonation if either

  • they set a new manifest and don’t compare the root CA cert with the existing one (this is the default of the contrast CLI) or
  • they verify the coordinator and don’t compare the root CA cert with a trusted reference.

Under these circumstances, the attacker can:

  • Issue certificates that chain back to the attacker coordinator’s root CA.
  • Recover arbitrary workload secrets of workloads deployed after the attack.

This issue does not affect the following:

  • secrets of the legitimate coordinator (seed, workload secrets, CA)
  • integrity of workloads, even when used with the rogue coordinator
  • certificates chaining back to the mesh CA

References

  • github.com/advisories/GHSA-vqv5-385r-2hf8
  • github.com/edgelesssys/contrast
  • github.com/edgelesssys/contrast/security/advisories/GHSA-vqv5-385r-2hf8
  • pkg.go.dev/vuln/GO-2025-3455

Code Behaviors & Features

Detect and mitigate GHSA-vqv5-385r-2hf8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/edgelesssys/contrast/GHSA-vqv5-385r-2hf8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.