GHSA-pgv6-jrvv-75jp: Send Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-pgv6-jrvv-75jp is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Send libraries in the npm ecosystem. The issue involves moderate severity vulnerability that affects send. Remediation is available by upgrading affected packages to version 0.8.4.
GHSA-pgv6-jrvv-75jp at a Glance
How to Fix GHSA-pgv6-jrvv-75jp
To remediate this vulnerability, upgrade all affected Send 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 send@0.8.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls send
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-pgv6-jrvv-75jp, inspect your project dependencies using npm:
npm ls send
Analyze the terminal output to locate any version of Send in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.4), your application is affected.
Note: The npm ls send 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 General Security Weakness. In Send, 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
GHSA-pgv6-jrvv-75jp Affected Send Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
send
|
npm |
< 0.8.4
|
0.8.4
|
References
Frequently Asked Questions
What is GHSA-pgv6-jrvv-75jp?
Which Send versions are affected?
What version fixes GHSA-pgv6-jrvv-75jp?
Is send affected?
What CWE is associated with GHSA-pgv6-jrvv-75jp?
How can I check npm dependencies for GHSA-pgv6-jrvv-75jp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pgv6-jrvv-75jp",
"modified" : "2020-06-16T22:04:41Z",
"published" : "2018-10-09T00:34:30Z",
"withdrawn" : "2020-06-16T21:49:08Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects send",
"details" : "Withdrawn, accidental duplicate publish.\n\nvisionmedia 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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "send"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-6394"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-pgv6-jrvv-75jp"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:49:08Z",
"nvd_published_at" : null
}
}