UNKNOWN RubyGems

RubyGems file overwrite vulnerability

GHSA-95vx-q4c2-64gr · CVE-2007-0469

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes