Vulnerabilities in pkg:gem/rubygems-update
PACKAGECVE-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.
pkg:gem/rubygems-update
Vulnerability advisories affecting package pkg:gem/rubygems-update. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-95vx-q4c2-64gr | CVE-2007-0469 | MODERATE | RubyGems file overwrite vulnerability |
| GHSA-3h4r-pjv6-cph9 | CVE-2019-8323 | HIGH | RubyGems Escape sequence injection vulnerability in api response handling |
| GHSA-mh37-8c3g-3fgc | CVE-2019-8322 | HIGH | RubyGems Escape sequence injection vulnerability in gem owner |
| GHSA-fr32-gr5c-xq5c | CVE-2019-8321 | HIGH | RubyGems Escape sequence injection vulnerability in verbose |
| GHSA-4wm8-fjv7-j774 | CVE-2019-8325 | HIGH | RubyGems Escape sequence injection in errors |
| GHSA-5x32-c9mf-49cc | CVE-2019-8320 | HIGH | RubyGems Delete directory using symlink when decompressing tar |
| GHSA-228f-g3h7-3fj3 | CVE-2012-2125 | MODERATE | RubyGems HTTPS to HTTP redirect |
| GHSA-5mgj-mvv8-46mw | CVE-2012-2126 | MODERATE | RubyGems does not verify SSL certificate |
| GHSA-qv62-xfj6-32xm | CVE-2015-4020 | MODERATE | RubyGems Improper Input Validation vulnerability |
| GHSA-p7f2-rr42-m9xm | CVE-2017-0900 | HIGH | RubyGems Improper Input Validation vulnerability |
| GHSA-qj2w-mw2r-pv39 | CVE-2018-1000074 | HIGH | RubyGems Deserialization of Untrusted Data vulnerability |
| GHSA-87qx-g5wg-mwmj | CVE-2018-1000078 | MODERATE | RubyGems Cross-site Scripting vulnerability |
| GHSA-gv86-43rv-79m2 | CVE-2018-1000077 | MODERATE | RubyGems Improper Input Validation vulnerability |
| GHSA-8qxg-mff5-j3wc | CVE-2018-1000079 | MODERATE | RubyGems Path Traversal vulnerability |
| GHSA-wp3j-rvfp-624h | CVE-2015-3900 | HIGH | RubyGems vulnerable to DNS hijack attack |
| GHSA-74pv-v9gh-h25p | CVE-2018-1000075 | HIGH | RubyGems Infinite Loop vulnerability |
| GHSA-mqwr-4qf2-2hcv | CVE-2017-0903 | CRITICAL | RubyGems vulnerable to Deserialization of Untrusted Data |
| GHSA-pm9x-4392-2c2p | CVE-2017-0901 | HIGH | RubyGems may allow a maliciously crafted gem to overwrite files |
| GHSA-7gcp-2gmq-w3xh | CVE-2017-0899 | CRITICAL | RubyGems Code Injection vulnerability |
| GHSA-73w7-6w9g-gc8w | CVE-2017-0902 | HIGH | RubyGems has Origin Validation Error vulnerability |
| GHSA-gx69-6cp4-hxrj | CVE-2018-1000073 | HIGH | RubyGems Link Following vulnerability |
| GHSA-9qvm-2vhf-q649 | CVE-2013-4363 | MODERATE | RubyGems Regular Expression Denial of Service |
| GHSA-mc6j-h948-v2p6 | CVE-2018-1000076 | CRITICAL | RubyGems Improper Verification of Cryptographic Signature vulnerability |
| GHSA-9j7m-rjqx-48vh | CVE-2013-4287 | MODERATE | RubyGems Regular Expression Denial of Service vulnerability |
| GHSA-76wm-422q-92mq | CVE-2019-8324 | HIGH | Code injection in RubyGems |
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"
}
}