google-osconfig-agent: upgrade github.com/sirupsen/logrus to v1.8.3 to fix CVE-2025-65637
Upgrade github.com/sirupsen/logrus dependency to v1.8.3 and re-vendor Go dependencies via `go mod vendor` to resolve CVE-2025-65637 in app-admin/google-osconfig-agent.
Provenance:
- 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)
Build adjustments:
- go get github.com/sirupsen/logrus@v1.8.3
- go mod tidy && go mod vendor && go mod verify
BUG=b/591314683
TEST=[e2e_tests] go mod verify; CGO_ENABLED=0 go build ./...
RELEASE_NOTE=Fixed CVE-2025-65637 in google-osconfig-agent.
cos-patch: security-high
Change-Id: Id8084b9ea46d782ca759c244851c9d3bbc4d20d4
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.