CVE-2013-4203 json
rgpg Code Injection vulnerability
published 13y ago modified 4mo ago also GHSA-jg4m-q6w8-vrjp , EUVD-2017-0260
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
The self.run_gpg function in lib/rgpg/gpg_helper.rb in the rgpg gem before 0.2.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors.
Patch / fix
Is CVE-2013-4203 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
2.08% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/rcook/rgpg/commit/b819b13d198495f3ecd2762a0dbe27bb6fae3505 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 | rgpg | <0.2.3 |
0.2.3 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/rcook/rgpg/commit/b819b13d198495f3ecd2762a0dbe27bb6fae3505
web, exploit, patch
-
openwall.com
/lists/oss-security/2013/08/03/2
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-4203
advisory
-
github.com
/rcook/rgpg
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rgpg/CVE-2013-4203.yml
web
Sources
- CVE List CVE-2013-4203
- GitHub Advisory GHSA-jg4m-q6w8-vrjp
- NVD CVE-2013-4203
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.