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.
Remediation
References
https://github.com/visionmedia/send/pull/59
http://www.openwall.com/lists/oss-security/2014/09/24/1
http://www.securityfocus.com/bid/70100
http://lists.fedoraproject.org/pipermail/package-announce/2014-September/139415.html
http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140020.html
https://nodesecurity.io/advisories/send-directory-traversal
https://github.com/visionmedia/send/commit/9c6ca9b2c0b880afd3ff91ce0d211213c5fa5f9a
https://bugzilla.redhat.com/show_bug.cgi?id=1146063
http://lists.fedoraproject.org/pipermail/package-announce/2014-October/139938.html
http://www.openwall.com/lists/oss-security/2014/09/30/10
http://lists.apple.com/archives/security-announce/2015/Sep/msg00002.html
https://support.apple.com/HT205217
http://www-01.ibm.com/support/docview.wss?uid=swg21687263
http://secunia.com/advisories/62170
https://exchange.xforce.ibmcloud.com/vulnerabilities/96727
Related Vulnerabilities
CVE-2020-28168 Vulnerability in maven package org.webjars.bower:axios
CVE-2023-49276 Vulnerability in npm package uptime-kuma
CVE-2023-30548 Vulnerability in npm package gatsby-plugin-sharp
CVE-2017-18197 Vulnerability in maven package org.webjars.bower:mxgraph
CVE-2022-38900 Vulnerability in npm package decode-uri-component