CVE-2014-5003 Ciborg gem for Ruby allows local users to write files and gain privileges via Symlink

Medium 5.5 Published Updated

Local attackers can exploit a symlink vulnerability in the ciborg gem to write arbitrary files and escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2014-5003?

CVE-2014-5003 is a medium-severity path traversal vulnerability in n/a, published on 10 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2014-5003?

2 open source packages ship an affected version, including ciborg. It affects 1 product.

PackageAffectedFixed in
ciborg RubyGemsAll versionsNone
ciborg RubyGemsAll versionsNone

Products include Ciborg Project Ciborg.

How do I fix CVE-2014-5003?

No fix has been published for CVE-2014-5003 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2014-5003 being exploited?

There is no known exploitation of CVE-2014-5003 in the wild and no public exploit code.

Sources

Also known as GHSA-g982-9r8g-6qxw.

Is CVE-2014-5003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free