CVE-2015-5688: Geddy Path Traversal Vulnerability
HIGHCVE-2015-5688 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Geddy libraries in the npm ecosystem. The issue involves directory traversal in geddy. Remediation is available by upgrading affected packages to version 13.0.8.
CVE-2015-5688 at a Glance
How to Fix CVE-2015-5688
To remediate this vulnerability, upgrade all affected Geddy dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install geddy@13.0.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls geddy
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2015-5688, inspect your project dependencies using npm:
npm ls geddy
Analyze the terminal output to locate any version of Geddy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.0.8), your application is affected.
Note: The npm ls geddy command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
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 Geddy, 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-2015-5688 Affected Geddy Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
geddy
|
npm |
< 13.0.8
|
13.0.8
|
References
Frequently Asked Questions
What is CVE-2015-5688?
Which Geddy versions are affected?
What version fixes CVE-2015-5688?
Is geddy affected?
What CWE is associated with CVE-2015-5688?
How can I check npm dependencies for CVE-2015-5688?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-333x-9vgq-v2j4",
"modified" : "2021-08-31T20:33:50Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2015-5688" ],
"summary" : "Directory Traversal in geddy",
"details" : "Versions 13.0.8 and earlier of geddy are vulnerable to a directory traversal attack via URI encoded attack vectors.\n\n### Proof of Concept\n```\nhttp://localhost:4000/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd\n```\n\n\n## Recommendation\n\nUpdate geddy to version >= 13.0.8",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "geddy"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "13.0.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-5688"
}, {
"type" : "WEB",
"url" : "https://github.com/geddy/geddy/issues/697"
}, {
"type" : "WEB",
"url" : "https://github.com/geddy/geddy/pull/699"
}, {
"type" : "WEB",
"url" : "https://github.com/geddy/geddy/commit/2de63b68b3aa6c08848f261ace550a37959ef231"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-333x-9vgq-v2j4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/geddy/geddy"
}, {
"type" : "WEB",
"url" : "https://github.com/geddy/geddy/releases/tag/v13.0.8"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:53:48Z",
"nvd_published_at" : null
}
}