{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-31216","id":"CVE-2024-31216","title":"source-controller leaks theAzure Storage SAS token into logs on connection errors","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","descriptionLong":"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.","published":"2024-05-15T15:52:15.084Z","updated":"2026-10-28T02:31:06.811812046Z","reserved":"2024-03-29T14:16:31.901Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["fluxcd source-controller"],"affectedProducts":[{"vendor":"fluxcd","product":"source-controller","defaultStatus":null,"versions":[{"version":"< 1.2.5","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/fluxcd/source-controller","purl":"pkg:golang/github.com/fluxcd/source-controller","ranges":["<1.2.5"],"fixed":["1.2.5"],"advisory":"GHSA-v554-xwgw-hc3w"}],"cwes":["CWE-532"],"aliases":["GHSA-v554-xwgw-hc3w","GO-2024-2859"],"references":[{"url":"https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/fluxcd/source-controller/pull/1430","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31216.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31216","tags":["advisory"]},{"url":"https://github.com/fluxcd/source-controller","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00213,"epssPercentile":0.11677,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-31216","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31216","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-31216","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v554-xwgw-hc3w","ok":true,"note":"GHSA-v554-xwgw-hc3w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-31216","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}