Vulnerabilities in pkg:gem/fastreader

PACKAGE
Advisory Identifier: GHSA-w248-xr37-jx8m
Advisory Summary

CVE-2013-2615 is a HIGH fastreader gem for ruby uri vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Fastreader libraries in the RubyGems ecosystem. The issue involves fastreader gem for ruby uri handling arbitrary command injection. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:gem/fastreader

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-w248-xr37-jx8m CVE-2013-2615 HIGH fastreader Gem for Ruby URI Handling Arbitrary Command Injection

CVE-2013-2615 at a Glance

CVE Identifier CVE-2013-2615
GHSA Identifier GHSA-w248-xr37-jx8m
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Fastreader
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2013-2615

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

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

How to Check if You Are Affected

To determine whether your application is affected by CVE-2013-2615, inspect your project dependencies for Fastreader:

inspect dependencies for fastreader

Analyze the terminal output to locate any version of Fastreader 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Fastreader, 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

fastreader Gem for Ruby contains a flaw that is triggered during the handling of specially crafted input passed via a URL that contains a ';' character. This may allow a context-dependent attacker to potentially execute arbitrary commands.

CVE-2013-2615 Affected Fastreader Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
fastreader
RubyGems
≥ 1.0.0

References

Frequently Asked Questions

What is CVE-2013-2615?
CVE-2013-2615 is a security vulnerability in Fastreader involving fastreader Gem for Ruby URI Handling Arbitrary Command Injection under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Fastreader versions are affected?
Affected versions include releases prior to current release patches across affected packages: fastreader.
What version fixes CVE-2013-2615?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is fastreader affected?
Yes, fastreader 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-2615?
CVE-2013-2615 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check RubyGems dependencies for CVE-2013-2615?
Run the dependency tree command: 'inspect dependencies for fastreader'. 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-w248-xr37-jx8m",
  "modified" : "2023-08-28T13:51:43Z",
  "published" : "2017-10-24T18:33:37Z",
  "aliases" : [ "CVE-2013-2615" ],
  "summary" : "fastreader Gem for Ruby URI Handling Arbitrary Command Injection",
  "details" : "fastreader Gem for Ruby contains a flaw that is triggered during the handling of specially crafted input passed via a URL that contains a ';' character. This may allow a context-dependent attacker to potentially execute arbitrary commands.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "fastreader"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2615"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fastreader/CVE-2013-2615.yml"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/120776/Ruby-Gem-Fastreader-1.0.8-Command-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/120845/Ruby-Gem-Fastreader-1.0.8-Code-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2013/Mar/122"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/03/19/9"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:59:12Z",
    "nvd_published_at" : null
  }
}