Skip to content

RubyGems file overwrite vulnerability

Moderate severity GitHub Reviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Mar 8, 2023

Package

bundler rubygems-update (RubyGems)

Affected versions

< 0.9.1

Patched versions

0.9.1

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.

References

Published by the National Vulnerability Database Jan 24, 2007
Published to the GitHub Advisory Database May 1, 2022
Reviewed Mar 8, 2023
Last updated Mar 8, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(89th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2007-0469

GHSA ID

GHSA-95vx-q4c2-64gr

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.