CVE-2007-0469
Rubyforge Rubygems vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Rubygems. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Rubyforge Rubygems runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- rubyforge.org/frs/shownotes.php?release_id=9074 · Patch
- marc.info/?l=full-disclosure&m=116939816621060&w=2
- www.novell.com/linux/security/advisories/2007_4_sr.html
- www.securityfocus.com/archive/1/458128/100/0/threaded
- www.vupen.com/english/advisories/2007/0295
- exchange.xforce.ibmcloud.com/vulnerabilities/31688
- nvd.nist.gov/vuln/detail/CVE-2007-0469
- web.archive.org/web/20070210090150/http://rubyforge.org/frs/shownotes.php?group_id=126&rel
- nvd.nist.gov/vuln/detail/CVE-2007-0469
- cve.org/CVERecord?id=CVE-2007-0469
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.