Описание
Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink
There is a /tmp file race condition in chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 when creating /tmp/perlbrew-installer. If a malicious local user creates the file first they can overwrite the contents with their own code executing it as the ciborg process owner.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2014-5003
- https://github.com/advisories/GHSA-g982-9r8g-6qxw
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ciborg/CVE-2014-5003.yml
- http://www.openwall.com/lists/oss-security/2014/07/07/24
- http://www.openwall.com/lists/oss-security/2014/07/17/5
- http://www.vapid.dhs.org/advisories/ciborg-3.0.0.html
Пакеты
Наименование
ciborg
rubygems
Затронутые версииВерсия исправления
= 3.0.0
Отсутствует
Связанные уязвимости
CVSS3: 5.5
nvd
около 8 лет назад
chef/travis-cookbooks/ci_environment/perlbrew/recipes/default.rb in the ciborg gem 3.0.0 for Ruby allows local users to write to arbitrary files and gain privileges via a symlink attack on /tmp/perlbrew-installer.