RubyGems file overwrite vulnerability
Moderate severity
GitHub Reviewed
Published
May 1, 2022
to the GitHub Advisory Database
•
Updated Mar 8, 2023
Description
Published by the National Vulnerability Database
Jan 24, 2007
Published to the GitHub Advisory Database
May 1, 2022
Reviewed
Mar 8, 2023
Last updated
Mar 8, 2023
The
extract_files
function ininstaller.rb
in RubyGems before 0.9.1 does not check whether files exist before overwriting them, which allows user-assisted remote attackers to overwrite arbitrary files, cause a denial of service, or execute arbitrary code via crafted GEM packages.References