CVE-2007-0469
RubyGems file overwrite vulnerability
Also known as GHSA-95vx-q4c2-64gr
Mitigation
- Upgrade rubygems-update to 0.9.1 or later.
Who should check
- Projects that depend on RubyGems package rubygems-update (< 0.9.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- rubygems-update < 0.9.1
- Fixed in
- 0.9.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v2.0, NVD)AV:N/AC:M/Au:N/C:C/I:C/A:C
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Complete
- Integrity impact: Complete
- Availability impact: Complete
- EPSS
- 4.86% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems rubygems-update | < 0.9.1 | 0.9.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2007-0469. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2007-0469.md Affected: rubygems-update < 0.9.1 Fixed in: 0.9.1 Steps: 1. Search this machine and project for rubygems-update (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31688
- http://www.securityfocus.com/archive/1/458128/100/0/threaded
- http://www.vupen.com/english/advisories/2007/0295
- http://marc.info/?l=full-disclosure&m=116939816621060&w=2
- https://github.com/rubygems/rubygems
- https://web.archive.org/web/20070210090150/http://rubyforge.org/frs/shownotes.php?group_id=126&release_id=9074
- https://web.archive.org/web/20201207172116/http://www.securityfocus.com/archive/1/458128/100/0/threaded
FAQ
Is CVE-2007-0469 being exploited?
There is no confirmed exploitation: CVE-2007-0469 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2007-0469?
Critical: CVSS 9.3 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2007-0469?
rubygems-update < 0.9.1.
Is there a fix for CVE-2007-0469?
Yes. Fixed in 0.9.1. Upgrade rubygems-update to 0.9.1 or later.
How do I check if I'm affected by CVE-2007-0469?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.