CVE-2014-2888: Sfpagent Sfpagent Command Injection Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-vm28-mrm7-fpjq
CWE-77
Published
Advisory Summary

CVE-2014-2888 is a HIGH sfpagent command injection vulnerability vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Sfpagent libraries in the RubyGems ecosystem. The issue involves sfpagent command injection vulnerability. Remediation is available by upgrading affected packages to version 0.4.15.

CVE-2014-2888 at a Glance

CVE Identifier CVE-2014-2888
GHSA Identifier GHSA-vm28-mrm7-fpjq
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Sfpagent
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2014-2888

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

sfpagent fixed: 0.4.15
Upgrade sfpagent to 0.4.15
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 sfpagent

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-2888, inspect your project dependencies for Sfpagent:

inspect dependencies for sfpagent

Analyze the terminal output to locate any version of Sfpagent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.15), 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-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Sfpagent, 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/sfpagent/bsig.rb` in the sfpagent gem before 0.4.15 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in the module name in a JSON request.

CVE-2014-2888 Affected Sfpagent Versions

1 component(s)
Fixed Versions:
0.4.15
Product / Package Ecosystem Affected Versions Fixed Version
sfpagent
RubyGems
< 0.4.15
0.4.15

References

Frequently Asked Questions

What is CVE-2014-2888?
CVE-2014-2888 is a security vulnerability in Sfpagent involving sfpagent Command Injection vulnerability under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Sfpagent versions are affected?
Affected versions include releases prior to 0.4.15 across affected packages: sfpagent.
What version fixes CVE-2014-2888?
Upgrading to 0.4.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sfpagent affected?
Yes, sfpagent is affected in releases prior to 0.4.15. Upgrade your dependency to 0.4.15 or later.
What CWE is associated with CVE-2014-2888?
CVE-2014-2888 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check RubyGems dependencies for CVE-2014-2888?
Run the dependency tree command: 'inspect dependencies for sfpagent'. 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-vm28-mrm7-fpjq",
  "modified" : "2025-04-13T23:28:09Z",
  "published" : "2017-10-24T18:33:36Z",
  "aliases" : [ "CVE-2014-2888" ],
  "summary" : "sfpagent Command Injection vulnerability",
  "details" : "`lib/sfpagent/bsig.rb` in the sfpagent gem before 0.4.15 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in the module name in a JSON request.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "sfpagent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.4.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-2888"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/herry13/sfpagent"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sfpagent/CVE-2014-2888.yml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201029141944/http://www.vapid.dhs.org/advisories/spfagent-remotecmd.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2014/Apr/243"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/04/16/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/04/18/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:57:58Z",
    "nvd_published_at" : "2014-04-23T15:55:00Z"
  }
}