CWE
78
Advisory Published
Advisory Published
Updated

CVE-2013-1933: OS Command Injection

First published: Thu Apr 25 2013(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
rubygems/karteek-docsplit<=0.5.4
DocumentCloud=0.5.4
Ruby

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2013-1933?

    CVE-2013-1933 has a medium severity level due to its potential for command injection attacks.

  • How do I fix CVE-2013-1933?

    To fix CVE-2013-1933, upgrade the Karteek Docsplit gem to a later version than 0.5.4.

  • What allows the vulnerability in CVE-2013-1933 to occur?

    The vulnerability occurs due to lack of proper sanitization of PDF filenames in the extract_from_ocr function.

  • Who is affected by CVE-2013-1933?

    Users of the Karteek Docsplit gem version 0.5.4 for Ruby are affected by CVE-2013-1933.

  • What kind of attack can be executed using CVE-2013-1933?

    CVE-2013-1933 allows attackers to execute arbitrary commands via shell metacharacters in a PDF filename.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203