CVEvulnerability

CVE-2014-6394

7.5 HIGH Published 2014-10-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2014-10-08
Last modified
2026-06-17
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-22

Description

visionmedia send before 0.8.4 for Node.js uses a partial comparison for verifying whether a directory is within the document root, which allows remote attackers to access restricted directories, as demonstrated using "public-restricted" under a "public" directory.

Affected configurations

• fedoraproject fedora 19 • fedoraproject fedora 20 • fedoraproject fedora 21 • apple xcode 7.0 • joyent node.js (<= 0.8.3) • joyent node.js 0.8.0 • joyent node.js 0.8.1 • joyent node.js 0.8.2

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

Referenced by CWE · observed example (2)

  • CWE-1023 Incomplete Comparison with Missing Factors weakness
  • CWE-187 Partial String Comparison weakness

References