9.3crit

CVE-2007-0469

RubyGems file overwrite vulnerability

Also known as GHSA-95vx-q4c2-64gr

Published 19 y ago · modified 4 mo ago · JSON

CVSS
9.3
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
4.9%
percentile 92%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

4.86% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.09.3AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected packages

EcosystemPackageAffectedFixed in
rubygemsrubygems-update
<0.9.1
0.9.1

References

  • rubyforge.org /frs/shownotes.php?release_id=9074 · x_refsource_CONFIRM, x_transferred
  • exchange.xforce.ibmcloud.com /vulnerabilities/31688 · vdb-entry, x_refsource_XF, x_transferred
  • novell.com /linux/security/advisories/2007_4_sr.html · vendor-advisory, x_refsource_SUSE, x_transferred
  • securityfocus.com /archive/1/458128/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • vupen.com /english/advisories/2007/0295 · vdb-entry, x_refsource_VUPEN, x_transferred
  • marc.info /?l=full-disclosure&m=116939816621060&w=2 · mailing-list, x_refsource_FULLDISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2007-0469 · advisory
  • github.com /rubygems/rubygems · package
  • web.archive.org /web/20070210090150/http://rubyforge.org/frs/shownotes.php?group_id=126&release_id=9074 · web
  • web.archive.org /web/20201207172116/http://www.securityfocus.com/archive/1/458128/100/0/threaded · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.