Check: CNTR-K8-002720
Kubernetes STIG:
CNTR-K8-002720
(in versions v1 r11 through v1 r7)
Title
Kubernetes must contain the latest updates as authorized by IAVMs, CTOs, DTMs, and STIGs. (Cat II impact)
Discussion
Kubernetes software must stay up to date with the latest patches, service packs, and hot fixes. Not updating the Kubernetes control plane will expose the organization to vulnerabilities. Flaws discovered during security assessments, continuous monitoring, incident response activities, or information system error handling must also be addressed expeditiously. Organization-defined time periods for updating security-relevant container platform components may vary based on a variety of factors including, for example, the security category of the information system or the criticality of the update (i.e., severity of the vulnerability related to the discovered flaw). This requirement will apply to software patch management solutions that are used to install patches across the enclave and also to applications themselves that are not part of that patch management solution. For example, many browsers today provide the capability to install their own patch software. Patch criticality, as well as system criticality will vary. Therefore, the tactical situations regarding the patch management process will also vary. This means that the time period utilized must be a configurable parameter. Time frames for application of security-relevant software updates may be dependent upon the IAVM process. The container platform components will be configured to check for and install security-relevant software updates within an identified time period from the availability of the update. The container platform registry will ensure the images are current. The specific time period will be defined by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).
Check Content
Authenticate on the Kubernetes Control Plane. Run the command: kubectl version --short If kubectl version has a setting not supporting Kubernetes skew policy, this is a finding. Note: Kubernetes Skew Policy can be found at: https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions
Fix Text
Upgrade Kubernetes to the supported version. Institute and adhere to the policies and procedures to ensure that patches are consistently applied within the time allowed.
Additional Identifiers
Rule ID: SV-242443r879827_rule
Vulnerability ID: V-242443
Group Title: SRG-APP-000456-CTR-001125
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002635 |
The organization defines the techniques to be employed to analyze the characteristics and behavior of malicious code. |
Controls
Number | Title |
---|---|
SI-3 (10) |
Malicious Code Analysis |