CVE-2013-2617 Curl Gem insufficient URL escaping command injection

High 7.5 Published Updated

Remote attackers can execute arbitrary commands via shell metacharacters in URLs processed by the Ruby Curl Gem.

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

What is CVE-2013-2617?

CVE-2013-2617 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

lib/curl.rb in the Curl Gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.

Weakness: CWE-94

Which versions are affected by CVE-2013-2617?

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

PackageAffectedFixed in
curl RubyGemsAll versions to 0.0.9None
curl RubyGemsAll versions to 0.0.9None

Products include Curl Project Curl.

How do I fix CVE-2013-2617?

Upgrade to a fixed version.

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

Is CVE-2013-2617 being exploited?

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

Sources

Also known as CVE-2013-1878, GHSA-hxx6-p24v-wg8c, MINI-fhc4-fch9-487g.

Is CVE-2013-2617 in your software?

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

Check your SBOMs for free