Vulnerabilities in pkg:gem/wicked
PACKAGECVE-2013-4413 is a MODERATE path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Wicked libraries in the RubyGems ecosystem. The issue involves wicked gem contains path traversal vulnerability. Remediation is available by upgrading affected packages to version 1.0.1.
pkg:gem/wicked
Vulnerability advisories affecting package pkg:gem/wicked. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rprj-g6xc-p5gq | CVE-2013-4413 | MODERATE | Wicked gem contains Path traversal vulnerability |
CVE-2013-4413 at a Glance
How to Fix CVE-2013-4413
To remediate this vulnerability, upgrade all affected Wicked 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 wicked to 1.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wicked
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-4413, inspect your project dependencies for Wicked:
inspect dependencies for wicked
Analyze the terminal output to locate any version of Wicked in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Wicked, 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-4413 Affected Wicked Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wicked
|
RubyGems |
< 1.0.1
|
1.0.1
|
References
Frequently Asked Questions
What is CVE-2013-4413?
Which Wicked versions are affected?
What version fixes CVE-2013-4413?
Is wicked affected?
What CWE is associated with CVE-2013-4413?
How can I check RubyGems dependencies for CVE-2013-4413?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rprj-g6xc-p5gq",
"modified" : "2025-04-13T22:44:33Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-4413" ],
"summary" : "Wicked gem contains Path traversal vulnerability",
"details" : "The Wicked gem prior to v1.0.1 allows a remote attacker to traverse directories on the system via a vulnerability in `controller/concerns/render_redirect.rb`. An attacker can send a specially-crafted URL request containing `%2E%2E%2F` directory traversal sequences to read arbitrary files on the system.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "wicked"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4413"
}, {
"type" : "WEB",
"url" : "https://github.com/schneems/wicked/commit/fe31bb2533fffc9d098c69ebeb7afc3b80509f53"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/87783"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-rprj-g6xc-p5gq"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/wicked/CVE-2013-4413.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/schneems/wicked"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210508170740/http://www.securityfocus.com/bid/62891"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2013/q4/43"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:55:24Z",
"nvd_published_at" : "2014-03-11T19:37:02Z"
}
}