Vulnerabilities in pkg:gem/Arabic-Prawn

PACKAGE
Advisory Identifier: GHSA-hgmw-x865-hf9x
Advisory Summary

CVE-2014-2322 is a HIGH arabic prawn allows remote attackers vulnerability (General Security Weakness) affecting Arabic Prawn libraries in the RubyGems ecosystem. The issue involves arabic prawn allows remote attackers to execute arbitrary commands via shell metacharacters. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/Arabic-Prawn

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-hgmw-x865-hf9x CVE-2014-2322 HIGH Arabic Prawn allows remote attackers to execute arbitrary commands via shell metacharacters

CVE-2014-2322 at a Glance

CVE Identifier CVE-2014-2322
GHSA Identifier GHSA-hgmw-x865-hf9x
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Arabic Prawn
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2014-2322

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

Arabic-Prawn fixed: Latest secure release
Upgrade Arabic-Prawn 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 Arabic-Prawn

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-2322, inspect your project dependencies for Arabic Prawn:

inspect dependencies for Arabic-Prawn

Analyze the terminal output to locate any version of Arabic Prawn 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 General Security Weakness. In Arabic Prawn, 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

`lib/string_utf_support.rb` in the Arabic Prawn 0.0.1 gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) downloaded_file or (2) url variable.

CVE-2014-2322 Affected Arabic Prawn Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
Arabic-Prawn
RubyGems
≤ 0.0.1

References

Frequently Asked Questions

What is CVE-2014-2322?
CVE-2014-2322 is a security vulnerability in Arabic Prawn involving Arabic Prawn allows remote attackers to execute arbitrary commands via shell metacharacters under General Security Weakness.
Which Arabic Prawn versions are affected?
Affected versions include releases prior to current release patches across affected packages: Arabic-Prawn.
What version fixes CVE-2014-2322?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is Arabic-Prawn affected?
Yes, Arabic-Prawn is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2014-2322?
CVE-2014-2322 is classified under General Security Weakness.
How can I check RubyGems dependencies for CVE-2014-2322?
Run the dependency tree command: 'inspect dependencies for Arabic-Prawn'. 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-hgmw-x865-hf9x",
  "modified" : "2023-01-26T20:58:07Z",
  "published" : "2017-10-24T18:33:36Z",
  "aliases" : [ "CVE-2014-2322" ],
  "summary" : "Arabic Prawn allows remote attackers to execute arbitrary commands via shell metacharacters",
  "details" : "`lib/string_utf_support.rb` in the Arabic Prawn 0.0.1 gem for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) downloaded_file or (2) url variable.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "Arabic-Prawn"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-2322"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ozeron/prawn-arabic"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20160306235714/http://www.vapid.dhs.org/advisories/arabic-ruby-gem.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/03/10/8"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/03/12/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:40:12Z",
    "nvd_published_at" : "2014-05-02T14:55:07Z"
  }
}