fix(security): remediate CVE vulnerabilities#553
Conversation
- Update Go version to 1.25.8 (fixes CVE-2026-25679, CVE-2026-27142, CVE-2026-27139) - Update golangci-lint to v2.1.6 for Go 1.25 compatibility - Add .golangci.yml with v2 format configuration Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Build Failure AnalysisCheck: lint SummaryThe lint check failed because golangci-lint-action v6 does not support golangci-lint v2.x. Root CauseThe CI workflow is using Error DetailsRecommendationUpdate This analysis was generated by the build-failure-analyze skill. |
- Update golangci-lint-action from v6 to v7 for golangci-lint v2.x compatibility Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Build Failure AnalysisCheck: lint SummaryThe lint check failed because golangci-lint v2.1.6 was built with Go 1.24, but the project targets Go 1.25.8. Root Causegolangci-lint requires the linter binary to be built with a Go version equal to or greater than the target Go version specified in go.mod. The golangci-lint v2.1.6 binary was compiled with Go 1.24, but go.mod specifies Error DetailsRecommendationUpdate This analysis was generated by the build-failure-analyze skill. |
- Update GOLANGCI_VERSION from v2.1.6 to v2.2.0 to fix linter incompatibility with Go 1.25.8 Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Build Failure AnalysisCheck: lint SummaryThe lint check failed because golangci-lint v2.2.0 was built with Go 1.24, but the project targets Go 1.25.8. Root Causegolangci-lint requires the linter binary to be built with a Go version equal to or greater than the target Go version specified in go.mod. Go 1.25 support was added in golangci-lint v2.4.0, so v2.2.0 (built with Go 1.24) cannot lint Go 1.25.x projects. Error DetailsRecommendationUpdate This analysis was generated by the build-failure-analyze skill. |
- Update GOLANGCI_VERSION from v2.2.0 to v2.11.3 (Go 1.25 support requires golangci-lint v2.4.0+) Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
Build Failure AnalysisCheck: lint SummaryThe lint check found 3 staticcheck QF1008 warnings in Root Causegolangci-lint v2.11.3 with stricter staticcheck rules detected that embedded struct fields are being accessed with redundant selector prefixes. The Error DetailsRecommendationSimplify embedded field access in
This analysis was generated by the build-failure-analyze skill. |
- Remove redundant .Condition prefix when accessing embedded struct fields (fixes staticcheck QF1008) Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
|
Thank you @bobh66. |
Summary
This PR fixes CVE vulnerabilities identified by security scanning.
Vulnerabilities Fixed
Changes Made
References
Verification
cve-scanskill after fixes