The extract_files
function in installer.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.
CPE | Name | Operator | Version |
---|---|---|---|
rubygems-update | lt | 0.9.1 |
marc.info/?l=full-disclosure&m=116939816621060&w=2
rubyforge.org/frs/shownotes.php?release_id=9074
github.com/advisories/GHSA-95vx-q4c2-64gr
nvd.nist.gov/vuln/detail/CVE-2007-0469
web.archive.org/web/20070210090150/rubyforge.org/frs/shownotes.php?group_id=126&release_id=9074
web.archive.org/web/20201207172116/www.securityfocus.com/archive/1/458128/100/0/threaded