Information
Disable fixing of malformed updates.
Rationale:
The apiserver 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 apiserver responses.
Solution
Edit the `/etc/kubernetes/apiserver` file on the master node and set the `KUBE_API_ARGS` parameter to `'--repair-malformed-updates=false'`: `KUBE_API_ARGS='--repair-malformed-updates=false'`
Based on your system, restart the `kube-apiserver` service. For example: `systemctl restart kube-apiserver.service`
Impact:
Malformed requests from clients would be rejected.