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.
{
"nvd_published_at": "2007-01-24T01:28:00Z",
"github_reviewed": true,
"cwe_ids": [],
"severity": "MODERATE",
"github_reviewed_at": "2023-03-08T20:03:32Z"
}