GHSA-q3w9-g74q-vp5f: Express fileupload Denial of Service Vulnerability
LOWGHSA-q3w9-g74q-vp5f is a LOW denial of service vulnerability (General Security Weakness) affecting Express fileupload libraries in the npm ecosystem. The issue involves denial of service in express-fileupload. Remediation is available by upgrading affected packages to version 1.1.6-alpha.6.
GHSA-q3w9-g74q-vp5f at a Glance
How to Fix GHSA-q3w9-g74q-vp5f
To remediate this vulnerability, upgrade all affected Express fileupload 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 express-fileupload@1.1.6-alpha.6
npm install express-fileupload@1.1.6-alpha.6
npm install express-fileupload@1.1.6-alpha.6
npm install express-fileupload@1.1.6-alpha.6
npm install express-fileupload@1.1.6-alpha.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls express-fileupload
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-q3w9-g74q-vp5f, inspect your project dependencies using npm:
npm ls express-fileupload
Analyze the terminal output to locate any version of Express fileupload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.6-alpha.6), your application is affected.
Note: The npm ls express-fileupload 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 Express fileupload, 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-q3w9-g74q-vp5f Affected Express fileupload Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
express-fileupload
|
npm |
< 1.1.6-alpha.6
|
1.1.6-alpha.6
|
|
express-fileupload
|
npm |
< 1.1.6-alpha.6
|
1.1.6-alpha.6
|
|
express-fileupload
|
npm |
< 1.1.6-alpha.6
|
1.1.6-alpha.6
|
|
express-fileupload
|
npm |
< 1.1.6-alpha.6
|
1.1.6-alpha.6
|
|
express-fileupload
|
npm |
< 1.1.6-alpha.6
|
1.1.6-alpha.6
|
References
Frequently Asked Questions
What is GHSA-q3w9-g74q-vp5f?
Which Express fileupload versions are affected?
What version fixes GHSA-q3w9-g74q-vp5f?
Is express-fileupload affected?
What CWE is associated with GHSA-q3w9-g74q-vp5f?
How can I check npm dependencies for GHSA-q3w9-g74q-vp5f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q3w9-g74q-vp5f",
"modified" : "2020-08-31T18:51:13Z",
"published" : "2020-09-03T21:14:12Z",
"aliases" : [ ],
"summary" : "Denial of Service in express-fileupload",
"details" : "Versions of `express-fileupload` prior to 1.1.6-alpha.6 are vulnerable to Denial of Service. The package causes server responses to be delayed (up to 30s in internal testing) if the request contains a large `filename` of `.` characters.\n\n\n\n\n## Recommendation\n\nUpgrade to version 1.1.6-alpha.6 or later.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "express-fileupload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6-alpha.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "express-fileupload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6-alpha.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.3-alpha.2"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "express-fileupload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6-alpha.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.2-alpha.1"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "express-fileupload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6-alpha.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.1-alpha.3"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "express-fileupload"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6-alpha.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0-alpha.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/1216"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-08-31T18:51:13Z",
"nvd_published_at" : null
}
}