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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L39 ↗
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L115 ↗
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb#L25 ↗
- http://www.openwall.com/lists/oss-security/2015/05/06/2 ↗
- http://www.securityfocus.com/bid/74469 ↗
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby/ ↗