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
10
kubernetes
secrets policy
serviceaccount
ephemeral containers
admission plugin

CVSS3

6.5

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

EPSS

0.001

Percentile

45.1%

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.

Affected configurations

Vulners
Node
k8s.iokubernetesRange<1.24.15
OR
k8s.iokubernetesRange<1.25.11
OR
k8s.iokubernetesRange<1.26.6
OR
k8s.iokubernetesRange<1.27.3
VendorProductVersionCPE
k8s.iokubernetes*cpe:2.3:a:k8s.io:kubernetes:*:*:*:*:*:*:*:*

CVSS3

6.5

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

EPSS

0.001

Percentile

45.1%