-
Notifications
You must be signed in to change notification settings - Fork 419
datadog-agent-7.73/7.73.3-r0: cve remediation #78100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
datadog-agent-7.73/7.73.3-r0: cve remediation #78100
Conversation
🔢 Build Failed: Dependency Version Mismatch
Build Details
Root Cause Analysis 🔍Version mismatch between the Go version being used (1.24.7) and the minimum Go version required by the github.com/envoyproxy/gateway@v1.5.7 dependency (1.24.11). The gobump tool attempted to update dependencies but failed because the available Go runtime version is older than what the dependency requires. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: datadog-agent-7.73.yaml
Replacement: Content:
Replacement: Content: Click to expand fix analysisAnalysisThe pattern across all three similar fixes shows that Go version mismatches are consistently resolved by upgrading the Go version in the build environment. Fix #0 added "go~1.24" to packages, Fix #1 upgraded from "go-fips-1.24" to "go-fips-1.25", and Fix #2 explicitly set "go-version: 1.24.7" in the go/bump step. The current error requires Go 1.24.11 but only has 1.24.7 available, indicating the build environment needs to use a newer Go version that satisfies the dependency requirement. Click to expand fix explanationExplanationThis fix addresses the root cause by upgrading the Go version from 1.24 to 1.25 in two critical places. The github.com/envoyproxy/gateway@v1.5.7 dependency requires Go 1.24.11 minimum, but the current build environment only provides Go 1.24.7. By upgrading to go-1.25 package and updating the go-version parameter to "1.25", we ensure the build environment has a Go version (1.25.x) that satisfies the dependency requirement. This follows the exact pattern seen in Fix #1 where go-fips-1.24 was upgraded to go-fips-1.25 to resolve a similar version compatibility issue. The comment update also reflects the reasoning behind the change, similar to how Fix #2 included explanatory comments. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
<!--ci-cve-scan:must-fix: GHSA-xrwg-mqj6-6m22-->
Signed-off-by: Brian Carey <brian.carey@chainguard.dev>
2b57771 to
8945e8f
Compare
datadog-agent-7.73/7.73.3-r0: fix GHSA-xrwg-mqj6-6m22
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/datadog-agent-7.73.advisories.yaml
"Breadcrumbs" for this automated service
Inspected git repositories: https://github.com/DataDog/datadog-agent@7.73.3