Lucene search

K
githubGitHub Advisory DatabaseGHSA-CGCV-5272-97PR
HistoryJul 03, 2023 - 9:30 p.m.

Kubernetes mountable secrets policy bypass

2023-07-0321:30:57
CWE-20
GitHub Advisory Database
github.com
5
kubernetes
secrets policy
serviceaccount
ephemeral containers
admission plugin

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service accountโ€™s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the kubernetes.io/enforce-mountable-secrets annotation are used together with ephemeral containers.

CPE configuration

Vulners
k8s.iokubernetesRange<1.24.15
OR
k8s.iokubernetesRange<1.25.11
OR
k8s.iokubernetesRange<1.26.6
OR
k8s.iokubernetesRange<1.27.3

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N