Skip to content

[pull] master from ruby:master - #1322

Merged
pull[bot] merged 7 commits into
turkdevops:masterfrom
ruby:master
Aug 18, 2026
Merged

[pull] master from ruby:master#1322
pull[bot] merged 7 commits into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Aug 18, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

hsbt and others added 7 commits August 17, 2026 22:00
Credentials coming from `bundle config` are injected into the remote URI
only in `configured_uri`, so filtering command strings and git output
against the original URI never matched and left them visible in
`GitCommandError` messages. Memoize `configured_uri` since it is now
consulted on every git invocation.

ruby/rubygems@b8a6244189

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Previously, only empty arrays were taking the gen_new_array fastpath. Now, if
an array can be embedded it will take the fastpath.
…or Gem::SafeMarshal.

A crafted payload using the UserDefined (u:) format for a permitted class
such as Date, which normally serializes as UserMarshal (U:), can result
in Date._load to invoke rb_marshal_load on attacker-controlled bytes,
bypassing SafeMarshal's allowlists.

HackerOne report 3915697, triaged as hardening.

ruby/rubygems@2fe0a5e5fa

Co-Authored-By: Sonnet 4.6 (1M context) <noreply@anthropic.com>
…spec

spec.platform.to_s is interpolated into Gem::Specification#full_name, which
Gem::Installer uses to build the gem and extension directories it removes and
then extracts into, so a platform carrying path separators lands outside the
gems directory. Neither entry point normalizes it: Gem::Platform is restored
from gem metadata without going through #initialize, and its String parser
keeps the cpu part verbatim. Replace the newline-only check with the same kind
of allowed-character pattern already used for the gem name.

ruby/rubygems@7cde597e47
Auto-clean after install was deferred to Bundler 5 in
ruby/rubygems@c314d7b25156, and clean_after_install?
checks bundler_5_mode?, but the man page still said Bundler 4.

ruby/rubygems@e7be51e53b

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@pull pull Bot locked and limited conversation to collaborators Aug 18, 2026
@pull pull Bot added the ⤵️ pull label Aug 18, 2026
@pull
pull Bot merged commit 2215345 into turkdevops:master Aug 18, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants