Generation of Error Message Containing Sensitive Information Affecting github.com/argoproj/gitops-engine/pkg/diff package, versions <0.7.1-0.20250129155113-7e21b91e9d0f


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th 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 Learn

Learn about Generation of Error Message Containing Sensitive Information vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMARGOPROJGITOPSENGINEPKGDIFF-8679276
  • published31 Jan 2025
  • disclosed30 Jan 2025
  • creditSiddhesh Ghadi

Introduced: 30 Jan 2025

CVE-2025-23216  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade github.com/argoproj/gitops-engine/pkg/diff to version 0.7.1-0.20250129155113-7e21b91e9d0f or higher.

Overview

Affected versions of this package are vulnerable to Generation of Error Message Containing Sensitive Information when syncing invalid Kubernetes Secret resources. An attacker with write access to the repository can expose secret values by committing an invalid Secret to repository and triggering a Sync, which then become visible to any user with read access to Argo CD.

CVSS Base Scores

version 4.0
version 3.1