CVE-2013-2090: Cremefraiche Creme Fraiche Contains OS Command Vulnerability
CRITICALCVE-2013-2090 is a CRITICAL creme fraiche contains os command vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Cremefraiche libraries in the RubyGems ecosystem. The issue involves creme fraiche contains os command injection. Remediation is available by upgrading affected packages to version 0.6.1.
CVE-2013-2090 at a Glance
How to Fix CVE-2013-2090
To remediate this vulnerability, upgrade all affected Cremefraiche 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 cremefraiche to 0.6.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for cremefraiche
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-2090, inspect your project dependencies for Cremefraiche:
inspect dependencies for cremefraiche
Analyze the terminal output to locate any version of Cremefraiche in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.1), 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Cremefraiche, 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-2013-2090 Affected Cremefraiche Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cremefraiche
|
RubyGems |
< 0.6.1
|
0.6.1
|
References
Frequently Asked Questions
What is CVE-2013-2090?
Which Cremefraiche versions are affected?
What version fixes CVE-2013-2090?
Is cremefraiche affected?
What CWE is associated with CVE-2013-2090?
How can I check RubyGems dependencies for CVE-2013-2090?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m6f7-46hw-grcj",
"modified" : "2023-03-14T20:44:40Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-2090" ],
"summary" : "Creme Fraiche contains OS Command Injection",
"details" : "The set_meta_data function in lib/cremefraiche.rb in the Creme Fraiche gem before 0.6.1 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in the file name of an email attachment. NOTE: some of these details are obtained from third party information.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "cremefraiche"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2090"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/121635/Ruby-Gem-Creme-Fraiche-0.6-Command-Injection.html"
}, {
"type" : "WEB",
"url" : "http://www.vapid.dhs.org/advisories/cremefraiche-cmd-inj.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:45:09Z",
"nvd_published_at" : "2014-05-27T14:55:06Z"
}
}