Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink
Moderate severity
GitHub Reviewed
Published
Jul 23, 2018
to the GitHub Advisory Database
•
Updated Nov 8, 2023
Description
Published by the National Vulnerability Database
Jan 10, 2018
Published to the GitHub Advisory Database
Jul 23, 2018
Reviewed
Jun 16, 2020
Last updated
Nov 8, 2023
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.References