Repository navigation
fix(deps): swap license_finder for rubyzip-3 fork (GHSA-47m2-wp7j-p9vc) - #379
Merged
Merged
Conversation
license_finder is the only gem that pulls in rubyzip, and upstream caps it below 3 with no release since May 2024 (pivotal/LicenseFinder#1063 and three other PRs sit unmerged). That held us on rubyzip 2.4.1, which Dependabot flags as high: path traversal in Zip::Entry#extract, fixed in 3.4.0. license_finder-rubyzip3 7.2.1.1 is upstream 7.2.1 byte-for-byte apart from the gemspec (name, homepage, rubyzip < 4). It is pinned exactly because a single person publishes it. rubyzip moves to 3.7.0. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
artempartos
pushed a commit
that referenced
this pull request
Dec 2, 2026
Users did not know /docs existed: in the logged-in app it was linked only from the step editor and three integration modals. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Aixle Flow <[email protected]> Signed-off-by: Artem Petrov <[email protected]>
artempartos
pushed a commit
that referenced
this pull request
Dec 2, 2026
#969) Users did not know /docs existed: in the logged-in app it was linked only from the step editor and three integration modals. Signed-off-by: Aixle Flow <[email protected]> Signed-off-by: Artem Petrov <[email protected]> Co-authored-by: Aixle Flow <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Dependabot alert #55 (high, GHSA-47m2-wp7j-p9vc): rubyzip < 3.4.0 has a path traversal in
Zip::Entry#extract.The only gem that pulls in rubyzip is
license_finder(development group, used bymake license-report-ruby). Upstream caps it atrubyzip >= 1, < 3and has shipped nothing since 7.2.1 in May 2024. Four PRs that lift the cap (pivotal/LicenseFinder#1063, #1070, #1071, #1072) and issue #1066 are open with no maintainer response, so we cannot get to rubyzip 3 through upstream.What
license_finder→license_finder-rubyzip3, pinned to exactly7.2.1.1.Gemfile.lockmoves.THIRD-PARTY-LICENSES.md: the regeneration steps usedgem install license_finder, which would install upstream again and bring rubyzip 2 back. They now usebundle exec license_finder. The attribution table is a dated snapshot, so it is unchanged.Is the fork safe
.gemfiles and diffed them.lib/is identical to upstream 7.2.1. The only changes are in the gemspec: name, homepage/metadata andrubyzip < 4.asiniy) owns the gem on RubyGems. That is why it is pinned exactly: published versions are immutable, and the lockfile cannot pick up anything newer from them by itself.Zip::File.open,#read,#globandEntry#get_input_stream, none of which changed in rubyzip 3. It never calls the vulnerable#extract.Verification
make license-report-rubyproduces the full report (276 gems) with rubyzip 3.7.0.LicenseFiles.find/NoticeFiles.findon a sample.jarfind the MIT license with rubyzip 3.7.0. Upstream 7.2.1 with rubyzip 2.4.1 gives the same output.rubocop Gemfileandbrakeman: clean.Revert to
license_finderonce upstream releases with rubyzip 3 support.🤖 Generated with Claude Code