critical9.3
CVE-2013-1933
Karteek Docsplit vulnerable to OS Command Injection
Impact
The `extract_from_ocr` function in `lib/docsplit/text_extractor.rb` in the Karteek Docsplit (karteek-docsplit) gem 0.5.4 for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a PDF filename.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | karteek-docsplit | <= 0.5.4 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Documentcloud | Karteek-Docsplit | Version 0.5.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://osvdb.org/92117
- http://vapid.dhs.org/advisories/karteek-docsplit-cmd-inject.html
- http://www.openwall.com/lists/oss-security/2013/04/08/15
- https://exchange.xforce.ibmcloud.com/vulnerabilities/83277
- https://github.com/advisories/GHSA-4fvg-pwv7-v54g
- https://nvd.nist.gov/vuln/detail/CVE-2013-1933
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/karteek-docsplit/CVE-2013-1933.yml