Skip to content

fix(deps): bump coder-cli to v2.34.22 (CVE fixes) - #956

Merged
artempartos merged 3 commits into
developfrom
chore/373-cve-coder-cli-2-34-19
Dec 2, 2026
Merged

artempartos merged 3 commits into
developfrom
chore/373-cve-coder-cli-2-34-19

Conversation

@aixle-com

@aixle-com aixle-com Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

The app image downloads the coder CLI release binary for workspace SSH (Coder::SshRunner). This raises it from v2.34.5 to v2.34.22, the newest patch on the 2.34 line: it carries every advisory Coder has published for that line, including three from 2026-12-01 (GHSA-x9fv-q3m2-9q9h, GHSA-9632-c46p-9xhm, GHSA-9c6q-59rp-6fcm) that still affect v2.34.19, the version this PR first pinned. Flow only runs coder ssh <ws> -- <cmd> with CODER_URL / CODER_SESSION_TOKEN, which the patch range does not change. Card: https://flow.aixle.com/company/projects/56/board?n=373

Checked: the linux_amd64 / linux_arm64 v2.34.22 assets exist, and the arm64 tarball matches coder_2.34.22_checksums.txt. The v2.34.22 linux binary in a container ran coder ssh <workspace> -- <cmd> against the staging Coder (server v2.32.1): stdin, stdout and the remote exit code all came through. The only stderr is the client/server version-mismatch notice, which v2.34.5 prints too. The Go dependencies bundled in the binary (go-git 5.19.1, x/net 0.60.0) are the same in v2.34.22. Removing those advisories needs a newer upstream line.

🤖 Generated with Claude Code

Aixle Flow and others added 2 commits December 1, 2026 11:44
Refs #373

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Aixle Flow <[email protected]>
Refs #373

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Aixle Flow <[email protected]>
@aixle-com

aixle-com Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Code Review — round 1 — PASS

CVE card #373: coder CLI v2.34.5 → v2.34.19. The diff (19d4ddfc vs develop) matches the Tech Design exactly.

Critical issues

None.

Scope check

  • Dockerfile:30: ARG CODER_CLI_VERSION=v2.34.19. This was the only build pin, and it covers the base stage, so both the production and development images get the new version.
  • docs/user-guide/coder.md:210 and app/frontend/pages/Docs/data/pages/coder.md:210 are both bumped and still identical.
  • CHANGELOG.md:26: an entry under Fixed, as the Tech Design planned.
  • No v2.34.5 pin is left anywhere: git grep '2.34.5' and CODER_CLI_VERSION across Dockerfiles, compose files and .github/ find nothing old. There is no .tool-versions or lock file entry for this component.
  • Nothing else changed. There is no lock file in scope. Both commits carry Signed-off-by.

Scanner

Scanned: the official coder_2.34.19_linux_amd64.tar.gz release binary (the same artifact Dockerfile:33 downloads; coder version → Coder v2.34.19+c7c0ece) with trivy 0.72.0 (trivy rootfs --scanners vuln), plus an OSV commit-level query. v2.34.5 was scanned the same way as the baseline. Both scanners were sha256-verified against CVE_SCANNER_PINS. The image itself was not built, because there is no Docker daemon on the review runner.
Fixed: 5 of 5 card CVEs (critical: none on the card; high: CVE-2026-137547). OSV lists all five (CVE-2026-137547, -137545, -137546, -137548, CVE-2026-134362) as affecting the v2.34.5 build commit c3dd41e1 and none as affecting the v2.34.19 build commit c7c0ece8. The OSV record for CVE-2026-137547 names c7c0ece8 as a fixed commit.
Still reported: none of the card's CVEs.

Note: trivy does not match the card's github.com/coder/coder/v2 advisories against the v2.34.x+dirty module version, so trivy alone reports them neither before nor after the bump. The commit-level OSV query is the evidence above.

Non-critical suggestions

  • The v2.34.19 binary still bundles Go dependencies with known advisories that are not part of this card: 2 high (CVE-2026-71556 in go-git v5.19.1, fixed in 5.19.2; CVE-2026-78661 in golang.org/x/net v0.60.0, fixed in 0.62.0), plus 5 medium, 2 low and 1 unknown. None of them is new compared with v2.34.5, which had 30 high and 26 medium. Only a newer upstream coder release can remove them, because they are compiled into the binary. Consider a follow-up to move to a newer minor line (2.37.11 / 2.38.7 / 2.39.1, per the card) if these matter.
  • The human check should still rebuild the flow-web image and run the coder ssh smoke test from the test plan, because the image build was not exercised in this review.

@aixle-com
aixle-com Bot marked this pull request as ready for review December 1, 2026 14:39
v2.34.22 was out before this PR opened, and three advisories published on
2026-12-01 (GHSA-x9fv-q3m2-9q9h, GHSA-9632-c46p-9xhm, GHSA-9c6q-59rp-6fcm)
affect every 2.34 release below it, so v2.34.19 would be flagged again by the
next scan. The changelog no longer counts five advisories: GitHub lists about
twenty fixed between v2.34.5 and v2.34.19 alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos artempartos changed the title fix(deps): bump coder-cli to v2.34.19 (CVE fixes) fix(deps): bump coder-cli to v2.34.22 (CVE fixes) Dec 2, 2026
@artempartos
artempartos merged commit e16a253 into develop Dec 2, 2026
19 checks passed
artempartos added a commit that referenced this pull request Dec 2, 2026
* origin/develop: (23 commits)
  ci(images): publish web, otlp-ingest and runner-relay for linux/arm64 (#983)
  fix(k8s): give a pod's image pull its own start budget (#979)
  build(dev): pull published agent images instead of building them (#980)
  fix(deps): bump coder-cli to v2.34.22 (CVE fixes) (#956)
  chore(agents): raise agent CLI pins for canary #943 (#975)
  docs(runners): record the §12.5 staging validation of the coder runner (row 18) (#978)
  build(dev): run local Temporal on the CLI dev server image (#954)
  fix(deps): websocket-driver 0.9.2 security batch, cross-spawn and tar re-resolve (#976)
  feat(web): link the docs portal from the app footer and sidebar (#379) (#969)
  feat(onboarding): Getting started page and product tour (#51) (#879)
  feat(dashboard): keep the table's sort in the URL (#974)
  fix(kiro): offer the models the account has today, not those of its last login (#973)
  feat(dashboard): keep the period and filters in the URL (#972)
  feat(company-settings): confirm worker count changes before saving (#971)
  feat(runners): the Coder runner in the UI: form, Environments section and docs (runners 17e, #315) (#963)
  docs(trackers): tech design for trackers chosen per session (#959)
  chore: remove the integrations backfill tooling left from #298 (#964)
  feat(runners): a coder runner created from the console (runners 17d, #309) (#960)
  chore(release): 1.23.0 (#961)
  feat(coder): Coder services for a second consumer, in the layers of runner-layers.md (runners 17b, #304) (#919)
  ...

# Conflicts:
#	CHANGELOG.md
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