CVE-2007-0469

RubyGems: Specially-crafted Gem archive can overwrite system files

Published Jan 24, 2007 CVSS 2.0 · 9.3 Critical EPSS 4.9% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-3295 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.
Github GHSA Github GHSA GHSA-95vx-q4c2-64gr RubyGems file overwrite vulnerability
History
Type Values Removed Values Added
Metrics epss

{'score': 0.03055}

epss

{'score': 0.04443}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 12:19 PM
Reserved
Jan 23, 2007, 12:00 AM
Status
Modified
Published
Jan 24, 2007, 1:28 AM
Modified
Jun 16, 2026, 10:35 PM
Severity
Low
Public date
Jul 21, 2009, 12:00 AM