1.1.9 Ensure that the --repair-malformed-updates argument is set to false

Information

Disable fixing of malformed updates.

Rationale:

The API sServer will potentially attempt to fix the update requests to pass the validation even if the requests are malformed. Malformed requests are one of the potential ways to interact with a service without legitimate information. Such requests could potentially be used to sabotage API Server responses.

Solution

Edit the API server pod specification file '/etc/kubernetes/manifests/kube-apiserver.yaml' on the master node and set the below parameter.

--repair-malformed-updates=false

Impact:

Malformed requests from clients would be rejected.

See Also

https://workbench.cisecurity.org/files/2125

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|14

Plugin: Unix

Control ID: 3294f7dde59ef1f323c61b15b30e37f56634dc0d542a30662db701ebe4e569f2