{"id":"GHSA-95vx-q4c2-64gr","summary":"RubyGems file overwrite vulnerability","details":"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.","aliases":["CVE-2007-0469"],"modified":"2025-04-09T15:28:46.696578Z","published":"2022-05-01T17:44:34Z","database_specific":{"github_reviewed_at":"2023-03-08T20:03:32Z","nvd_published_at":"2007-01-24T01:28:00Z","cwe_ids":[],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0469"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/31688"},{"type":"PACKAGE","url":"https://github.com/rubygems/rubygems"},{"type":"WEB","url":"https://web.archive.org/web/20070210090150/http://rubyforge.org/frs/shownotes.php?group_id=126&release_id=9074"},{"type":"WEB","url":"https://web.archive.org/web/20201207172116/http://www.securityfocus.com/archive/1/458128/100/0/threaded"},{"type":"WEB","url":"http://marc.info/?l=full-disclosure&m=116939816621060&w=2"},{"type":"WEB","url":"http://www.novell.com/linux/security/advisories/2007_4_sr.html"}],"affected":[{"package":{"name":"rubygems-update","ecosystem":"RubyGems","purl":"pkg:gem/rubygems-update"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.1"}]}],"versions":["0.8.10","0.8.11","0.8.3","0.8.4","0.8.5","0.8.6","0.8.8","0.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-95vx-q4c2-64gr/GHSA-95vx-q4c2-64gr.json"}}],"schema_version":"1.9.0"}