Backport request for RubyGems 2.7.6
RubyGems 2.7.6 has been released. It contained the several vulnerability fixes.
I created patches for all of the active branches of Ruby.
This patch for upgrading RubyGems 2.7.3 to 2.7.6 and tiny changes for test-case. So, It includes following fixes:
rubygems-276-for-ruby24.patch and rubygems-276-for-ruby23.patch¶
These patches contained RubyGems 2.7.6 security fixes and tempfile leak fixes.
This patch fixed security vulnerabilities for RubyGems 2.7.6. But I removed patch for "Prevent path traversal when writing to a symlinked basedir outside of the root. Discovered by nmalkin, fixed by Jonathan Claudius and Samuel Giddins." (It was not assigned CVE number)
Because to support packaging with symlink was provided after RubyGems 2.5.
So, Ruby 2.2 contained RubyGems 2.4. It's affected by its vulnerability.
To nalsh, nagachika, usa
Please backport them.