Skip to content

fix: remediate Harbor dependency and base image vulnerabilities (DEVOPS-44168) - #195

Merged
edge-katanomi-app2[bot] merged 3 commits into
alauda-1.18from
fork-pr-194/fix/harbor-vuln-remediation-0706-20260706100204
Jul 7, 2026
Merged

fix: remediate Harbor dependency and base image vulnerabilities (DEVOPS-44168)#195
edge-katanomi-app2[bot] merged 3 commits into
alauda-1.18from
fork-pr-194/fix/harbor-vuln-remediation-0706-20260706100204

Conversation

@kycheng

@kycheng kycheng commented Jul 6, 2026

Copy link
Copy Markdown

Origin-branch counterpart of #194 (fork PR) so the pipeline's image-digest commit-back can push (the fork bot cannot push to kycheng/harbor-helm).

Same content as #194 plus the pipeline-generated image tag pins in values.yaml:

  • Go deps: golang.org/x/crypto 0.49->0.52, golang.org/x/net 0.52->0.55 (HIGH), go.mongodb.org/mongo-driver 1.14->1.17.7 (MEDIUM)
  • GOLANG_IMAGE_VERSION 1.26.3 -> 1.26.4
  • Component releases (rebuilt with Go 1.26.4): TRIVY v0.68.3-alauda-9, TRIVY_ADAPTER v0.34.3-alauda-5, REGISTRY v2.8.4-alauda-8
  • Photon base ops/photon:5-alauda-202606161048 rebuilt in place by ops
  • trivy-scan gate ignores no-fix CVEs CVE-2026-50163 (oras-go), CVE-2026-41889 (pgx v4)

All 8 image trivy-scans pass on the prior run (harbor-all-in-one-stxqn). Supersedes #194.

🤖 Generated with Claude Code

kychen and others added 2 commits July 6, 2026 09:29
- subtree/harbor/src: bump golang.org/x/crypto v0.49.0 -> v0.52.0,
  golang.org/x/net v0.52.0 -> v0.55.0 (HIGH),
  go.mongodb.org/mongo-driver v1.14.0 -> v1.17.7 (CVE-2026-2303, MEDIUM)
- Bump GOLANG_IMAGE_VERSION 1.26.3 -> 1.26.4 (all-in-one.yaml, patch-amd64.sh)
- Backfill remediated component releases in all-in-one.yaml (rebuilt with Go 1.26.4):
  TRIVY_VERSION v0.68.3-alauda-7 -> v0.68.3-alauda-9,
  TRIVY_ADAPTER_VERSION v0.34.3-alauda-2 -> v0.34.3-alauda-5,
  REGISTRY_VERSION v2.8.4-alauda-7 -> v2.8.4-alauda-8
- trivy-scan gate: ignore no-upstream-fix CVEs CVE-2026-50163 (oras-go, via trivy binary
  in trivy-adapter image) and CVE-2026-41889 (jackc/pgx v4 LOW, exporter image).

Photon base image ops/photon:5-alauda-202606161048 rebuilt in place by ops; tag unchanged.

Part of Harbor 2.14.3 vulnerability remediation (DEVOPS-44168).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kycheng

kycheng commented Jul 6, 2026

Copy link
Copy Markdown
Author

/retest

@alaudabot

Copy link
Copy Markdown

✅ All checks are passing. No failed tests to rerun.

@kycheng

kycheng commented Jul 6, 2026

Copy link
Copy Markdown
Author

/all-in-one

@kycheng

kycheng commented Jul 6, 2026

Copy link
Copy Markdown
Author

Pipeline history / why the earlier fork PR (#194) shows red

The vulnerability remediation is complete and validated — on the prior run (harbor-all-in-one-stxqn, commit 9b8ac9b) all 8 image trivy-scan tasks passed (core, portal, registry, registryctl, nginx, jobservice, exporter, trivy-adapter), 0 failures.

The only failing task on #194 was commit, and it is not a security/build failure: the pipeline pins the freshly-built image tags back into values.yaml and pushes that commit to the PR branch. #194's head is on a fork (kycheng/harbor-helm) that the CI bot cannot push to (403), and each commit-back changes the SHA so a fork PR can never converge. The pipeline's built-in fallback pushed the complete state (remediation + image-tag pins) to the origin branch this PR is built from.

This PR (#195) is that origin branch, so the commit-back can push and the pipeline goes fully green. Its values.yaml references the remediated images (2.14.3-g...); #194's still points at the previous build, so merge this PR, not #194.

Residual (accepted, no upstream fix, exempted in the trivy-scan gate): CVE-2026-50163 (oras-go, via trivy binary), CVE-2026-41889 (jackc/pgx v4 LOW). Photon base ops/photon:5-alauda-202606161048 was rebuilt in place by ops (now clean).

@kycheng

kycheng commented Jul 7, 2026

Copy link
Copy Markdown
Author

/ready

@kycheng

kycheng commented Jul 7, 2026

Copy link
Copy Markdown
Author

/merge

@edge-katanomi-app2
edge-katanomi-app2 Bot merged commit 5df0b3f into alauda-1.18 Jul 7, 2026
2 checks passed
@alaudabot

Copy link
Copy Markdown

🎉 PR Successfully Merged!

Merge details:

  • Method: squash
  • Merged by: @kycheng
  • LGTM votes: 2/1

Approvers:

User Permission Valid
@chengjingtao admin
@yuzichen12123 write

Thank you to all reviewers! 🙏

@edge-katanomi-app2
edge-katanomi-app2 Bot deleted the fork-pr-194/fix/harbor-vuln-remediation-0706-20260706100204 branch July 7, 2026 01:47
@kycheng

kycheng commented Aug 4, 2026

Copy link
Copy Markdown
Author

/all-in-one

@kycheng

kycheng commented Aug 4, 2026

Copy link
Copy Markdown
Author

/integration-test skip_e2e=true

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.

4 participants