Skip to content

fix: [CI-22510]: update OS packages to remediate CVEs in drone-git rootless images#130

Open
vinayakharness2026 wants to merge 1 commit into
wings-software:masterfrom
vinayakharness2026:fix/vuln-remediation-CI-22510
Open

fix: [CI-22510]: update OS packages to remediate CVEs in drone-git rootless images#130
vinayakharness2026 wants to merge 1 commit into
wings-software:masterfrom
vinayakharness2026:fix/vuln-remediation-CI-22510

Conversation

@vinayakharness2026
Copy link
Copy Markdown

@vinayakharness2026 vinayakharness2026 commented May 4, 2026

Summary

Minimal OS-level package update to remediate 8 of 13 CVEs reported in CI-22510 for harnesssecure/drone-git:1.7.17-rootless.

Approach: Explicitly update vulnerable OS packages in the Dockerfiles. No changes to git-lfs installation or Go toolchain — keeping the existing pre-built binary download as-is.

Changes

File Change
docker/Dockerfile.rootless.linux.amd64 Add explicit microdnf update for vulnerable OS packages
docker/Dockerfile.rootless.linux.amd64.rf Same
docker/Dockerfile.rootless.linux.arm64.rf Same

CVEs Resolved (8 — OS-level packages)

CVE Package Fixed Version
CVE-2026-25679 go-rpm-macros 3.6.0-14.el9_7
CVE-2026-27135 nghttp2 1.43.0-6.el9_7.1
CVE-2026-3497 openssh 8.7p1-48.el9_7
CVE-2026-35385 openssh latest available
CVE-2026-40356 krb5 latest available
CVE-2026-4424 libarchive 3.5.3-9.el9_7
CVE-2026-4519 python3.9 3.9.25-3.el9_7.2+
CVE-2026-4786 python3.9 3.9.25-3.el9_7.3
CVE-2026-6100 python3.9 3.9.25-3.el9_7.3

CVEs Deferred (5 — Go stdlib in git-lfs binary)

These affect the pre-built git-lfs binary (compiled with Go 1.25.3). No upstream git-lfs release with Go >= 1.25.9 is available yet. Will be resolved when upstream ships a new build.

CVE Package
CVE-2025-61726 net/url
CVE-2025-61729 crypto/x509
CVE-2026-25679 net/url
CVE-2026-32280 crypto/x509
CVE-2026-32283 crypto/tls

Test Plan

  • Rebuild rootless amd64 image and run Trivy scan — verify OS CVEs are gone
  • Verify git-lfs still works (git lfs version, git lfs pull)
  • Verify git clone operations work normally

🤖 Generated with Claude Code

…rootless images

Explicitly update vulnerable OS packages (openssh, nghttp2, libarchive,
python3, krb5-libs) to pick up security fixes. The 5 Go stdlib CVEs in
git-lfs are deferred until upstream releases a build with Go >= 1.25.9.

Resolved CVEs (OS-level):
- CVE-2026-25679 (go-rpm-macros)
- CVE-2026-27135 (nghttp2)
- CVE-2026-3497  (openssh)
- CVE-2026-35385 (openssh)
- CVE-2026-40356 (krb5)
- CVE-2026-4424  (libarchive)
- CVE-2026-4519  (python3.9)
- CVE-2026-4786  (python3.9)
- CVE-2026-6100  (python3.9)

Deferred CVEs (Go stdlib in git-lfs, no upstream fix available):
- CVE-2025-61726 (net/url)
- CVE-2025-61729 (crypto/x509)
- CVE-2026-25679 (net/url)
- CVE-2026-32280 (crypto/x509)
- CVE-2026-32283 (crypto/tls)

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@vinayakharness2026 vinayakharness2026 force-pushed the fix/vuln-remediation-CI-22510 branch from f2d7a43 to 8bae6b4 Compare May 7, 2026 08:24
@vinayakharness2026 vinayakharness2026 changed the title fix: [CI-22510]: remediate 13 CVEs in drone-git rootless images fix: [CI-22510]: update OS packages to remediate CVEs in drone-git rootless images May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant