Repository navigation
Add live CA-certificate mitigation tools for COS and GKE - #79
Merged
SergeyKanzhelev merged 1 commit intoOct 22, 2026
Merged
SergeyKanzhelev merged 1 commit into
SergeyKanzhelev merged 1 commit into
Conversation
Contributor
Author
|
cc @rkolchmeyer @SergeyKanzhelev @chrishenzie for review |
Contributor
|
dont think i have approval permission, but - /lgtm |
rkolchmeyer
approved these changes
Oct 21, 2026
Collaborator
|
/lgtm |
Add `cos-ca-cert-mitigation/` providing live mitigation tools to distrust compromised eMudhra (`emSign`) root CAs and the cross-signing `AAA Certificate Services` (`Comodo_AAA_Services_root.crt`) root CA on running Container-Optimized OS (COS) instances and GKE Standard nodes: - `cos-ca-cert-mitigation/cos/mitigate_cos_ca_certs.sh`: Standalone live-VM mitigation script that updates `/etc/ca-certificates.conf` and `/etc/ssl/certs`, masks read-only `/usr` trust stores (`chromeos-ca-certificates` and `grpc`), updates default container image tags for `toolbox` (`v20261020`) and `cos-extensions` (`cos-gpu-installer:v2.7.11`), and restarts active host daemons. - `cos-ca-cert-mitigation/gke/cos-ca-cert-mitigation.yaml`: Privileged Kubernetes DaemonSet (`kube-system/cos-ca-cert-mitigator`) to apply the mitigation across all existing and newly autoscaled COS nodes in a GKE Standard cluster without rebooting nodes or evicting pods. - `cos-ca-cert-mitigation/README.md`: Deployment, verification, and cleanup instructions for GKE Standard clusters and standalone COS GCE VMs. Signed-off-by: Chenglong Tang <chenglongtang@google.com>
chenglongtang1
force-pushed
the
cos-ca-cert-mitigation
branch
from
October 22, 2026 03:30
2c3ba36 to
d6f92ac
Compare
SergeyKanzhelev
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
cos-ca-cert-mitigation/providing live mitigation tools to distrust the compromised eMudhra (emSign) root CAs and the cross-signingAAA Certificate Services(Comodo_AAA_Services_root.crt) root CA on running Container-Optimized OS (COS) instances and GKE Standard (COS_CONTAINERD) nodes before upgrading to patched OS images.What's Included
cos-ca-cert-mitigation/cos/mitigate_cos_ca_certs.shcos-ca-cert-mitigation/gke/cos-ca-cert-mitigation.yamlDaemonSet(kube-system/cos-ca-cert-mitigator) that applies the mitigation across all existing and newly autoscaled COS nodes in a GKE Standard cluster without rebooting nodes or disrupting running pods.cos-ca-cert-mitigation/README.mdHow the Mitigation Works
/etc/ca-certificates.conf&/etc/ssl/certs):mozilla/emSign_*.crtandmozilla/Comodo_AAA_Services_root.crtin/etc/ca-certificates.confand runsupdate-ca-certificates --fresh.curl,wget,git,oslogin,systemd,chrony), host Python (certifi,urllib3,requests,cloud-init), and Gocrypto/x509CLIs (kubectl,crictl,ctr,docker)./usrTrust Stores (dm-verity):/usr/share/chromeos-ca-certificates/Comodo_AAA_Services_root.pemwith/dev/null(mitigatingupdate_engine,libbrillo, andcrash_sender)./etc/ssl/certs/ca-certificates.crtover/usr/share/grpc/roots.pemif present.toolbox&cos-extensions):TOOLBOX_DOCKER_TAG="v20261020"in/etc/default/toolbox./usr/bin/cos-extensionsvia/run/cos-mitigationsocos-extensions install gpudefaults togcr.io/cos-cloud/cos-gpu-installer:v2.7.11.containerd,docker,kubelet,fluent-bit,update-engine,node-problem-detector,google-guest-agent*,google-osconfig-agent,device_policy_manager) so long-running Go and C/C++ processes reload/etc/ssl/certs/ca-certificates.crtin-place.Testing
Verified end-to-end (pre-mitigation, post-mitigation, idempotency re-run, and post-reboot) across:
cos-117-lts,cos-121-lts,cos-125-lts,cos-129-lts,cos-133-lts, andcos-dev(M138)COS_CONTAINERDnode pool (verifiedDaemonSetrollout and zero workload pod restarts)