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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- www.benjaminfleischer.com third-party-advisory
- [oss-security] 20150506 Re: Local privileges escalation in rubygem open-uri-cached mailing-list third-party-advisory
- github.com
- github.com exploit
- seclists.org
- github.com third-party-advisory
- web.archive.org
- github.com
- github.com product
- 74469 third-party-advisory vdb-entry