CVE-2007-0469: Rubygems update RubyGems File Overwrite Vulnerability Vulnerability
MODERATECVE-2007-0469 is a MODERATE rubygems file overwrite vulnerability vulnerability (General Security Weakness) affecting Rubygems update libraries in the RubyGems ecosystem. The issue involves rubygems file overwrite vulnerability. Remediation is available by upgrading affected packages to version 0.9.1.
CVE-2007-0469 at a Glance
How to Fix CVE-2007-0469
To remediate this vulnerability, upgrade all affected Rubygems update dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rubygems-update to 0.9.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rubygems-update
How to Check if You Are Affected
To determine whether your application is affected by CVE-2007-0469, inspect your project dependencies for Rubygems update:
inspect dependencies for rubygems-update
Analyze the terminal output to locate any version of Rubygems update in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Rubygems update, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2007-0469 Affected Rubygems update Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rubygems-update
|
RubyGems |
< 0.9.1
|
0.9.1
|
References
Frequently Asked Questions
What is CVE-2007-0469?
Which Rubygems update versions are affected?
What version fixes CVE-2007-0469?
Is rubygems-update affected?
What CWE is associated with CVE-2007-0469?
How can I check RubyGems dependencies for CVE-2007-0469?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-95vx-q4c2-64gr",
"modified" : "2025-04-09T14:35:20Z",
"published" : "2022-05-01T17:44:34Z",
"aliases" : [ "CVE-2007-0469" ],
"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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "rubygems-update"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.1"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-08T20:03:32Z",
"nvd_published_at" : "2007-01-24T01:28:00Z"
}
}