google-osconfig-agent: upgrade Go dependencies to fix CVE-2026-63209, CVE-2025-65637, CVE-2026-71556
Upgrade Go module dependencies (github.com/go-git/go-git/v5@v5.19.2, github.com/klauspost/compress@v1.18.7, github.com/sirupsen/logrus@v1.8.3) and re-vendor via `go mod vendor` to resolve CVE-2026-63209, CVE-2025-65637, CVE-2026-71556 in app-admin/google-osconfig-agent.
Provenance:
- CVE-2026-63209: Go module github.com/klauspost/compress fixed in v1.18.7, fix commits 539243b8823e ("s2sx: Clean symlink targets (#1163)"), 8668e357e776 ("Merge commit from fork") (https://github.com/advisories/GHSA-259r-337f-4rfw)
- CVE-2025-65637: Go module github.com/sirupsen/logrus fixed in v1.8.3, fix commit 6acd90375868 ("This commit fixes a potential denial of service vulnerability in logrus.Writer() that could be triggered by logging text longer than 64kb without newlines. Previously, the bufio.Scanner used by Writer() would hang indefinitely when reading such text without newlines, causing the application to become unresponsive.") (https://pkg.go.dev/vuln/GO-2025-4188)
- CVE-2026-71556: Go module github.com/go-git/go-git/v5 fixed in v5.19.2, fix commit 008a78f2dd86 ("git: worktree, make the filesystem wrapper a symlink-safe boundary") (https://github.com/advisories/GHSA-hc8v-wwc9-vgxm)
Build adjustments:
- go get github.com/go-git/go-git/v5@v5.19.2
- go get github.com/klauspost/compress@v1.18.7
- go get github.com/sirupsen/logrus@v1.8.3
- go mod tidy && go mod vendor && go mod verify
BUG=b/591528369, b/591527985, b/591054629
TEST=[.] go mod verify; go test -mod=vendor ./...; CGO_ENABLED=0 go build -mod=vendor ./...; [e2e_tests] go mod verify; CGO_ENABLED=0 go build ./...
RELEASE_NOTE=Fixed CVE-2026-63209, CVE-2025-65637, CVE-2026-71556 in google-osconfig-agent.
cos-patch: security-high
Change-Id: Ibd4c1a98ba658ac44f74f4401a6a13709721fa40
This repository contains the OS Config agent and associated end to end tests.
The OS Config agent currently supports the following three main features:
For instructions on how to install the OS Config agent on a Compute Engine VM instance, see Install the OS Config agent.