Vulnerabilities in pkg:gem/sfpagent
PACKAGECVE-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.
pkg:gem/sfpagent
Vulnerability advisories affecting package pkg:gem/sfpagent. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vm28-mrm7-fpjq | CVE-2014-2888 | HIGH | sfpagent Command Injection vulnerability |
CVE-2014-2888 at a Glance
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.
Upgrade sfpagent to 0.4.15
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
CVE-2014-2888 Affected Sfpagent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sfpagent
|
RubyGems |
< 0.4.15
|
0.4.15
|
References
Frequently Asked Questions
What is CVE-2014-2888?
Which Sfpagent versions are affected?
What version fixes CVE-2014-2888?
Is sfpagent affected?
What CWE is associated with CVE-2014-2888?
How can I check RubyGems dependencies for CVE-2014-2888?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}