Skip to content

Karteek Docsplit vulnerable to OS Command Injection

High severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Aug 16, 2023

Package

bundler karteek-docsplit (RubyGems)

Affected versions

<= 0.5.4

Patched versions

None

Description

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.

References

Published by the National Vulnerability Database Apr 25, 2013
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jan 26, 2023
Last updated Aug 16, 2023

Severity

High

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(80th percentile)

Weaknesses

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Learn more on MITRE.

CVE ID

CVE-2013-1933

GHSA ID

GHSA-4fvg-pwv7-v54g

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.