GHSA-rcw7-pqfp-735x

Suggest an improvement
Source
https://github.com/advisories/GHSA-rcw7-pqfp-735x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-rcw7-pqfp-735x/GHSA-rcw7-pqfp-735x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rcw7-pqfp-735x
Aliases
Published
2025-09-05T21:02:44Z
Modified
2025-09-17T17:27:05Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
secrets-store-sync-controller discloses service account tokens in logs
Details

Hello Kubernetes Community,

A security issue was discovered in secrets-store-sync-controller where an actor with access to the controller logs could observe service account tokens. These tokens could then potentially be exchanged with external cloud providers to access secrets stored in cloud vault solutions. Tokens are only logged when there is a specific error marshaling the parameters sent to the providers.

Am I vulnerable?

To check if tokens are being logged, examine the manager container log:

kubectl logs -l 'app.kubernetes.io/part-of=secrets-store-sync-controller' -c manager -f | grep --line-buffered "csi.storage.k8s.io/serviceAccount.tokens"

Affected Versions

  • secrets-store-sync-controller < v0.0.2

How do I mitigate this vulnerability?

Upgrade to secrets-store-sync-controller v0.0.2+

Fixed Versions

  • secrets-store-sync-controller >= v0.0.2

Detection

Examine cloud provider logs for unexpected token exchanges, as well as unexpected access to cloud vault secrets.

If you find evidence that this vulnerability has been exploited, please contact security@kubernetes.io

Acknowledgements

This vulnerability was reported by Reem Rotenberg and Kas Dekel from Microsoft.

Database specific
{
    "cwe_ids":  [
        "CWE-532"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-09-05T21:02:44Z",
    "nvd_published_at":  "2025-09-05T03:15:31Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / sigs.k8s.io/secrets-store-sync-controller

Package

Name
sigs.k8s.io/secrets-store-sync-controller
View open source insights on deps.dev
Purl
pkg:golang/sigs.k8s.io/secrets-store-sync-controller

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-rcw7-pqfp-735x/GHSA-rcw7-pqfp-735x.json"