Описание
open-uri-cached Gem for Ruby Unsafe Temporary File Creation Enables Code Execution
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 metafile is created.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2015-3649
- https://github.com/tigris/open-uri-cached/issues/8
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/open-uri-cached/CVE-2015-3649.yml
- https://github.com/tigris/open-uri-cached/blob/master/lib/open-uri/cached.rb
- https://web.archive.org/web/20210119122105/http://www.securityfocus.com/bid/74469
- http://seclists.org/oss-sec/2015/q2/373
- http://www.benjaminfleischer.com/2013/03/20/yaml-and-security-in-ruby
- http://www.openwall.com/lists/oss-security/2015/05/06/2
Пакеты
Наименование
open-uri-cached
rubygems
Затронутые версииВерсия исправления
<= 1.0.0
Отсутствует
Связанные уязвимости
CVSS3: 7.8
nvd
больше 8 лет назад
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.