RubySec

Providing security resources for the Ruby community

CVE-2013-1933 (karteek-docsplit): Karteek Docsplit Gem for Ruby text_extractor.rb File Name Shell Metacharacter Injection Arbitrary Command Execution

ADVISORIES

GEM

karteek-docsplit

SEVERITY

CVSS v2.0: 9.3 (High)

PATCHED VERSIONS

None.

DESCRIPTION

Karteek Docsplit Gem for Ruby contains a flaw that is due to the program failing to properly sanitize input passed to text_extractor.rb. With a specially crafted file name that contains shell metacharacters, a context-dependent attacker can execute arbitrary commands