Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/fluxcd/source-controller: CVE-2024-31216 #2859

Closed
GoVulnBot opened this issue May 15, 2024 · 2 comments
Labels

Comments

@GoVulnBot
Copy link

CVE-2024-31216 references github.com/fluxcd/source-controller, which may be a Go module.

Description:
The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, OCI, Helm repositories and S3-compatible buckets. The source-controller implements the source.toolkit.fluxcd.io API and is a core component of the GitOps toolkit. Prior to version 1.2.5, when source-controller was configured to use an Azure SAS token when connecting to Azure Blob Storage, the token was logged along with the Azure URL when the controller encountered a connection error. An attacker with access to the source-controller logs could use the token to gain access to the Azure Blob Storage until the token expires. This vulnerability was fixed in source-controller v1.2.5. There is no workaround for this vulnerability except for using a different auth mechanism such as Azure Workload Identity.

References:

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/fluxcd/source-controller
      vulnerable_at: 1.3.0
      packages:
        - package: source-controller
summary: CVE-2024-31216 in github.com/fluxcd/source-controller
cves:
    - CVE-2024-31216
references:
    - advisory: https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w
    - fix: https://github.com/fluxcd/source-controller/pull/1430
    - fix: https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9
source:
    id: CVE-2024-31216

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/586484 mentions this issue: data/reports: add 73 unreviewed reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/590039 mentions this issue: data/reports: add 51 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants