VDB
Sign up
HIGH7.5

GHSA-pm9x-4392-2c2p

RubyGems may allow a maliciously crafted gem to overwrite files

Quick fix

GHSA-pm9x-4392-2c2p — rubygems-update: upgrade to the fixed version with the command below.

bundle update rubygems-update

Details

RubyGems versions 2.6.12 and earlier fail to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rubygems-update
Introduced in: 0Fixed in: 2.6.13
Fixbundle update rubygems-update

References