Check: CNTR-K8-000190
Kubernetes STIG:
CNTR-K8-000190
(in versions v1 r10 through v1 r7)
Title
The Kubernetes etcd must use TLS to protect the confidentiality of sensitive data during electronic dissemination. (Cat II impact)
Discussion
The Kubernetes API Server will prohibit the use of SSL and unauthorized versions of TLS protocols to properly secure communication. The use of unsupported protocol exposes vulnerabilities to the Kubernetes by rogue traffic interceptions, man-in-the-middle attacks, and impersonation of users or services from the container platform runtime, registry, and keystore. To enable the minimum version of TLS to be used by the Kubernetes API Server, the setting "peer-auto-tls" must be set.
Check Content
Change to the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Run the command: grep -I peer-auto-tls * If the setting "peer-auto-tls" is not configured in the Kubernetes etcd manifest file or it is set to "true", this is a finding.
Fix Text
Edit the Kubernetes etcd manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Set the value of "peer-auto-tls" to "false".
Additional Identifiers
Rule ID: SV-242380r879519_rule
Vulnerability ID: V-242380
Group Title: SRG-APP-000014-CTR-000035
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000068 |
Implement cryptographic mechanisms to protect the confidentiality of remote access sessions. |
Controls
Number | Title |
---|---|
AC-17(2) |
Protection of Confidentiality / Integrity Using Encryption |