Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rubygems-update
  4. ›
  5. CVE-2007-0469

CVE-2007-0469: RubyGems file overwrite vulnerability

May 1, 2022 (updated April 9, 2025)

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.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/31688
  • github.com/advisories/GHSA-95vx-q4c2-64gr
  • github.com/rubygems/rubygems
  • nvd.nist.gov/vuln/detail/CVE-2007-0469
  • web.archive.org/web/20070210090150/http://rubyforge.org/frs/shownotes.php?group_id=126&release_id=9074
  • web.archive.org/web/20201207172116/http://www.securityfocus.com/archive/1/458128/100/0/threaded

Code Behaviors & Features

Detect and mitigate CVE-2007-0469 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.9.1

Fixed versions

  • 0.9.1

Solution

Upgrade to version 0.9.1 or above.

Impact 9.3 CRITICAL

AV:N/AC:M/Au:N/C:C/I:C/A:C

Learn more about CVSS

Source file

gem/rubygems-update/CVE-2007-0469.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.