Kubernetes secrets-store-csi-driver in versions before 1.3.3 discloses service account tokens in logs.
euvd · EUVD-2023-1539 · Published
No access to your tenant or devices. Every item links to its source. What this means
Kubernetes secrets-store-csi-driver in versions before 1.3.3 discloses service account tokens in logs.
Read the publisher's advisoryKubernetes secrets-store-csi-driver in versions before 1.3.3 discloses service account tokens in logs.
Read the publisher's advisoryKubernetes secrets-store-csi-driver in versions before 1.3.3 discloses service account tokens in logs.
Read the publisher's advisoryA security issue was discovered in secrets-store-csi-driver where an actor with access to the driver 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 [TokenRequests is configured in the CSIDriver object](https://kubernetes-csi.github.io/docs/token-requests.html) and the driver is set to run at log level 2 or greater via the -v flag. This issue has been rated MEDIUM [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N) (6.5), and assigned CVE-2023-2878 ### Am I vulnerable? You may be vulnerable if [TokenRequests is configured in the CSIDriver object](https://kubernetes-csi.github.io/docs/token-requests.html) and the driver is set to run at log level 2 or greater via the -v flag. To check if token requests are configured, run the following command: ```bash kubectl get csidriver secrets-store.csi.k8s.io -o jsonpath="{.spec.tokenRequests}" ``` To check if tokens are being logged, examine the secrets-store container log: ```bash kubectl logs -l app=secrets-store-csi-driver -c secrets-store -f | grep --line-buffered "csi.storage.k8s.io/serviceAccount.tokens" ``` ### Affected Versions - secrets-store-csi-driver < 1.3.3 ### How do I mitigate this vulnerability? Prior to upgrading, this vulnerability can be mitigated by running secrets-store-csi-driver at log level 0 or 1 via the -v flag. ### Fixed Versions - secrets-store-csi-driver >= 1.3.3 To upgrade, refer to the documentation: https://secrets-store-csi-driver.sigs.k8s.io/getting-started/upgrades.html#upgrades ### 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 [[email protected]](https://groups.google.com/)
Read the publisher's advisorysecrets-store-csi-driver discloses service account tokens in logs in sigs.k8s.io/secrets-store-csi-driver
Read the publisher's advisoryCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
Compare earlier KEV listings and EPSS scores. Advisory wording and affected versions have a separate history.
A prediction change is reported when EPSS rises from below 10% to 10% or higher. Every daily score change from the last 30 days stays in this history. Before that, it keeps KEV changes and moves between EPSS bands (0.1%, 1%, 5%, 10%, 20%, 50% and 90%).
See how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
euvd · EUVD-2023-1539 · Published
nvd · CVE-2023-2878 · Published
osv · GHSA-g82w-58jf-gcxx · Published
osv · GO-2023-1793 · Published
cve-program · CVE-2023-2878 · Published