CVE-2014-4992 Cap-Strap gem for Ruby places credentials on the useradd command line

High 7.8 Published Updated

Local attackers can read sensitive credentials from process listings due to insecure command-line argument handling in the cap-strap Ruby gem.

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-4992?

CVE-2014-4992 is a high-severity 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

lib/cap-strap/helpers.rb in the cap-strap gem 0.1.5 for Ruby places credentials on the useradd command line, which allows local users to obtain sensitive information by listing the process.

Weakness: CWE-200

Which versions are affected by CVE-2014-4992?

2 open source packages ship an affected version, including cap-strap. It affects 1 product.

PackageAffectedFixed in
cap-strap RubyGemsAll versionsNone
cap-strap RubyGemsAll versionsNone

Products include Cap-Strap Project Cap-Strap.

How do I fix CVE-2014-4992?

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

Is CVE-2014-4992 being exploited?

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

Sources

Also known as GHSA-pcm6-g2qp-9gw8.

Is CVE-2014-4992 in your software?

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

Check your SBOMs for free