Vulnerabilities in pkg:npm/geddy

PACKAGE
Advisory Identifier: GHSA-333x-9vgq-v2j4
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/geddy

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/geddy. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-333x-9vgq-v2j4 CVE-2015-5688 HIGH Directory Traversal in geddy

CVE-2015-5688 at a Glance

CVE Identifier CVE-2015-5688
GHSA Identifier GHSA-333x-9vgq-v2j4
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Geddy
Package Ecosystem npm
Published Date
Last Updated

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.

geddy fixed: 13.0.8
npm install geddy@13.0.8
Verify Direct and Transitive Dependencies

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

Versions 13.0.8 and earlier of geddy are vulnerable to a directory traversal attack via URI encoded attack vectors. ### Proof of Concept ``` http://localhost:4000/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd ``` ## Recommendation Update geddy to version >= 13.0.8

CVE-2015-5688 Affected Geddy Versions

1 component(s)
Fixed Versions:
13.0.8
Product / Package Ecosystem Affected Versions Fixed Version
geddy
npm
< 13.0.8
13.0.8

References

Frequently Asked Questions

What is CVE-2015-5688?
CVE-2015-5688 is a security vulnerability in Geddy involving Directory Traversal in geddy under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Geddy versions are affected?
Affected versions include releases prior to 13.0.8 across affected packages: geddy.
What version fixes CVE-2015-5688?
Upgrading to 13.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is geddy affected?
Yes, geddy is affected in releases prior to 13.0.8. Upgrade your dependency to 13.0.8 or later.
What CWE is associated with CVE-2015-5688?
CVE-2015-5688 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (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.).
How can I check npm dependencies for CVE-2015-5688?
Run the dependency tree command: 'npm ls geddy'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}