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.
{
"cna_assigner": "kubernetes",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2728.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "v1.24.14"
},
{
"last_affected": "<="
},
{
"last_affected": "v1.25.0 - v1.25.10"
},
{
"last_affected": "v1.26.0 - v1.26.5"
},
{
"last_affected": "v1.27.0 - v1.27.2"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-20"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.24.14"
},
{
"introduced": "1.25.0"
},
{
"last_affected": "1.25.10"
},
{
"introduced": "1.26.0"
},
{
"last_affected": "1.26.5"
},
{
"introduced": "1.27.0"
},
{
"last_affected": "1.27.2"
}
],
"cpe": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
"source": "CPE_FIELD"
}