CVE-2013-6421 json
sprout Arbitrary Code Execution vulnerability
published 12y ago modified 4mo ago also GHSA-229r-pqp6-8w6g , EUVD-2017-0147
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.0%
- EPSS 2.0% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
The unpack_zip function in archive_unpacker.rb in the sprout gem 0.7.246 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a (1) filename or (2) path.
Is CVE-2013-6421 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.97% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2013/12/03/1 referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2013/12/03/6 referenced PoC, tagged "exploit" by a source, unverified
- vapid.dhs.org http://vapid.dhs.org/advisories/sprout-0.7.246-command-inj.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | sprout | 1 listed version |
no fix listed |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
openwall.com
/lists/oss-security/2013/12/03/1
mailing-list, web, exploit
-
openwall.com
/lists/oss-security/2013/12/03/6
mailing-list, web, exploit
-
vapid.dhs.org
/advisories/sprout-0.7.246-command-inj.html
web, exploit
-
archives.neohapsis.com
/archives/bugtraq/2013-12/0077.html
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-6421
advisory
-
github.com
/lukebayes/project-sprouts
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/sprout/CVE-2013-6421.yml
web
Sources
- CVE List CVE-2013-6421
- GitHub Advisory GHSA-229r-pqp6-8w6g
- NVD CVE-2013-6421
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.