{"id":"CVE-2024-31216","state":"PUBLISHED","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 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.","publishedAt":"2024-05-15T15:52:15.084Z","updatedAt":"2024-08-02T01:46:04.808Z","severity":{"score":5.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["fluxcd source-controller"],"affected":[{"vendor":"fluxcd","product":"source-controller","versions":[{"version":"< 1.2.5","status":"affected"}]}],"references":["https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","https://github.com/fluxcd/source-controller/pull/1430","https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/31xxx/CVE-2024-31216.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-31216","state":"PUBLISHED","datePublished":"2024-05-15T15:52:15.084Z","dateUpdated":"2024-08-02T01:46:04.808Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-29T14:16:31.901Z"},"containers":{"cna":{"title":"source-controller leaks theAzure Storage SAS token into logs on connection errors","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"fluxcd","product":"source-controller","versions":[{"version":"< 1.2.5","status":"affected"}]}],"references":[{"url":"https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","name":"https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fluxcd/source-controller/pull/1430","name":"https://github.com/fluxcd/source-controller/pull/1430","tags":["x_refsource_MISC"]},{"url":"https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9","name":"https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-05-15T15:52:15.084Z"},"source":{"advisory":"GHSA-v554-xwgw-hc3w","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-16T17:32:05.849081Z","id":"CVE-2024-31216","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-24T18:16:00.378Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","name":"https://github.com/fluxcd/source-controller/security/advisories/GHSA-v554-xwgw-hc3w","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/fluxcd/source-controller/pull/1430","name":"https://github.com/fluxcd/source-controller/pull/1430","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9","name":"https://github.com/fluxcd/source-controller/commit/915d1a072a4f37dd460ba33079dc094aa6e72fa9","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:46:04.808Z"}}]}}}