CVE-2013-1875 Shell command injection in command_wrap

High 7.5 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in URLs or filenames using the command_wrap Ruby Gem.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2013-1875?

CVE-2013-1875 is a high-severity command injection vulnerability in n/a, published on 20 Mar 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

command_wrap.rb in the command_wrap Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL or filename.

Weakness: CWE-94

Which versions are affected by CVE-2013-1875?

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

PackageAffectedFixed in
command_wrap RubyGemsAll versions to 0.6.2None
command_wrap RubyGemsAll versions to 0.6.2None

Products include Rubygems Command Wrap.

How do I fix CVE-2013-1875?

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

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2013-1875 being exploited?

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

Sources

Also known as GHSA-p673-hjf2-pwfr.

Is CVE-2013-1875 in your software?

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

Check your SBOMs for free