Vulnerabilities in pkg:gem/karteek-docsplit

PACKAGE
Advisory Identifier: GHSA-4fvg-pwv7-v54g
Advisory Summary

CVE-2013-1933 is a HIGH karteek docsplit vulnerable to os vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Karteek docsplit libraries in the RubyGems ecosystem. The issue involves karteek docsplit vulnerable to os command injection. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/karteek-docsplit

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:gem/karteek-docsplit. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4fvg-pwv7-v54g CVE-2013-1933 HIGH Karteek Docsplit vulnerable to OS Command Injection

CVE-2013-1933 at a Glance

CVE Identifier CVE-2013-1933
GHSA Identifier GHSA-4fvg-pwv7-v54g
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Karteek docsplit
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2013-1933

To remediate this vulnerability, upgrade all affected Karteek docsplit dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

karteek-docsplit fixed: Latest secure release
Upgrade karteek-docsplit to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for karteek-docsplit

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-1933, inspect your project dependencies for Karteek docsplit:

inspect dependencies for karteek-docsplit

Analyze the terminal output to locate any version of Karteek docsplit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where 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. In Karteek docsplit, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2013-1933 Affected Karteek docsplit Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
karteek-docsplit
RubyGems
≤ 0.5.4

References

Frequently Asked Questions

What is CVE-2013-1933?
CVE-2013-1933 is a security vulnerability in Karteek docsplit involving Karteek Docsplit vulnerable to OS Command Injection under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Karteek docsplit versions are affected?
Affected versions include releases prior to current release patches across affected packages: karteek-docsplit.
What version fixes CVE-2013-1933?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is karteek-docsplit affected?
Yes, karteek-docsplit is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2013-1933?
CVE-2013-1933 is classified under CWE-78: 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.).
How can I check RubyGems dependencies for CVE-2013-1933?
Run the dependency tree command: 'inspect dependencies for karteek-docsplit'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4fvg-pwv7-v54g",
  "modified" : "2023-01-26T23:59:29Z",
  "published" : "2022-05-17T01:36:24Z",
  "aliases" : [ "CVE-2013-1933" ],
  "summary" : "Karteek Docsplit vulnerable to OS Command Injection",
  "details" : "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.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "karteek-docsplit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.5.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1933"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/83277"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/karteek-docsplit/CVE-2013-1933.yml"
  }, {
    "type" : "WEB",
    "url" : "http://vapid.dhs.org/advisories/karteek-docsplit-cmd-inject.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/04/08/15"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-26T23:59:29Z",
    "nvd_published_at" : "2013-04-25T23:55:00Z"
  }
}