Skip to content

CVE-2015-3649 open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution

HighCVSS 7.8 EPSS 0.39% PoC
Published
Updated
Exploit status
Proof-of-concept only

Description

The open-uri-cached rubygem allows local users to execute arbitrary Ruby code by creating a directory under /tmp containing "openuri-" followed by a crafted UID, and putting Ruby code in said directory once a meta file is created.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
rubygems open-uri-cached(RubyGems) <= 1.0.0; = 0.0.1; = 0.0.3; = 0.0.4 +2 more after 1.0.0 Fixed
open-uri-cached project open-uri-cached = 0.0.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems open-uri-cached(RubyGems) <= 1.0.0 No fix listed
rubygems open-uri-cached(RubyGems) = 0.0.1 No fix listed
rubygems open-uri-cached(RubyGems) = 0.0.3 No fix listed
rubygems open-uri-cached(RubyGems) = 0.0.4 No fix listed
rubygems open-uri-cached(RubyGems) = 0.0.5 No fix listed
rubygems open-uri-cached(RubyGems) = 1.0.0 No fix listed
open-uri-cached project open-uri-cached = 0.0.5 No fix listed

References