CVE-2013-4318: Features Features File Injection Vulnerability Vulnerability
MODERATECVE-2013-4318 is a MODERATE (CVSS 5.4) features file injection vulnerability vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Features libraries in the RubyGems ecosystem. The issue involves features file injection vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2013-4318 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2013-4318
To remediate this vulnerability, upgrade all affected Features 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 features to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for features
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-4318, inspect your project dependencies for Features:
inspect dependencies for features
Analyze the terminal output to locate any version of Features 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-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Features, 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-4318 Affected Features Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
features
|
RubyGems |
≤ 0.3.0
|
|
References
Frequently Asked Questions
What is CVE-2013-4318?
Which Features versions are affected?
What version fixes CVE-2013-4318?
Is features affected?
What is the CVSS score of CVE-2013-4318?
What CWE is associated with CVE-2013-4318?
How can I check RubyGems dependencies for CVE-2013-4318?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-42gq-h7xj-33r4",
"modified" : "2023-04-03T22:30:48Z",
"published" : "2022-05-05T00:29:11Z",
"aliases" : [ "CVE-2013-4318" ],
"summary" : "Features file injection vulnerability",
"details" : "File injection vulnerability in Ruby gem Features 0.3.0 allows remote attackers to inject malicious html in the `/tmp` directory.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "features"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4318"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mhennemeyer/features"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/features/CVE-2013-4318.yml"
}, {
"type" : "WEB",
"url" : "https://security-tracker.debian.org/tracker/CVE-2013-4318"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/09/09/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-27T00:23:53Z",
"nvd_published_at" : "2019-12-26T21:15:00Z"
}
}