Skip to content

Commit

Permalink
Disable google-cloud-ops-agent
Browse files Browse the repository at this point in the history
The current version of google-cloud-ops-agent is impacted by a CVE:
https://access.redhat.com/security/cve/CVE-2024-41110

Signed-off-by: Javi Polo <[email protected]>
  • Loading branch information
javipolo committed Nov 26, 2024
1 parent 26b10d2 commit aed7857
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions training/cloud/gcp/cloud-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ dnf install -y --nobest \
vim
mv /etc/selinux.tmp /etc/selinux

# Install Google Ops Agent
curl -sSo /tmp/add-google-cloud-ops-agent-repo.sh https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh
bash /tmp/add-google-cloud-ops-agent-repo.sh --also-install --remove-repo
rm /tmp/add-google-cloud-ops-agent-repo.sh
# The current version of google-cloud-ops-agent is impacted by a CVE: https://access.redhat.com/security/cve/CVE-2024-41110
# It will be disable for the meantime
#
# # Install Google Ops Agent
# curl -sSo /tmp/add-google-cloud-ops-agent-repo.sh https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh
# bash /tmp/add-google-cloud-ops-agent-repo.sh --also-install --remove-repo
# rm /tmp/add-google-cloud-ops-agent-repo.sh

# rpm-state is needed to remove microcode_ctl
mkdir /var/lib/rpm-state
Expand Down

0 comments on commit aed7857

Please sign in to comment.