Advisory

GHSA-95vx-q4c2-64gr

Also known as: 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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-01 17:44 UTC
Modified
2025-04-09 15:28 UTC

Affected packages and fixes

rubygems-update

RubyGems · All systems

Affected

  • introduced 0, fixed 0.9.1 (ecosystem)

Fixed versions

0.9.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences