CVE-2013-7086: Webbynode Webbynode Code Injection Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-p65m-qr5x-rrqq
CWE-94
Published
Advisory Summary

CVE-2013-7086 is a HIGH webbynode code injection vulnerability vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Webbynode libraries in the RubyGems ecosystem. The issue involves webbynode code injection vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2013-7086 at a Glance

CVE Identifier CVE-2013-7086
GHSA Identifier GHSA-p65m-qr5x-rrqq
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Webbynode
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2013-7086

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

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

How to Check if You Are Affected

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

inspect dependencies for webbynode

Analyze the terminal output to locate any version of Webbynode 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 Webbynode, 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 message function in `lib/webbynode/notify.rb` in the Webbynode gem 1.0.5.3 and earlier for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a growlnotify message.

CVE-2013-7086 Affected Webbynode Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
webbynode
RubyGems
≤ 1.0.5.3

References

Frequently Asked Questions

What is CVE-2013-7086?
CVE-2013-7086 is a security vulnerability in Webbynode involving Webbynode Code Injection vulnerability under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Webbynode versions are affected?
Affected versions include releases prior to current release patches across affected packages: webbynode.
What version fixes CVE-2013-7086?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is webbynode affected?
Yes, webbynode 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-7086?
CVE-2013-7086 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-7086?
Run the dependency tree command: 'inspect dependencies for webbynode'. 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-p65m-qr5x-rrqq",
  "modified" : "2023-01-26T21:22:44Z",
  "published" : "2017-10-24T18:33:36Z",
  "aliases" : [ "CVE-2013-7086" ],
  "summary" : "Webbynode Code Injection vulnerability",
  "details" : "The message function in `lib/webbynode/notify.rb` in the Webbynode gem 1.0.5.3 and earlier for Ruby allows context-dependent attackers to execute arbitrary commands via shell metacharacters in a growlnotify message.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "webbynode"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.5.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7086"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/webbynode/webbynode/pull/85"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/89705"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webbynode/CVE-2013-7086.yml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/webbynode/webbynode"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200229074410/http://www.securityfocus.com/bid/64289"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201208124343/http://www.vapid.dhs.org/advisories/webbynode-command-inj.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/124421"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/oss-sec/2013/q4/493"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/oss-sec/2013/q4/497"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:48:09Z",
    "nvd_published_at" : null
  }
}