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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/05/06/2Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/74469Third Party Advisory, VDB Entry
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39Third Party Advisory
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/05/06/2Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/74469Third Party Advisory, VDB Entry
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25Third Party Advisory
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39Third Party Advisory
Timeline
- Published
- Aug 18, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified