Security updates
The list below enumerates the Express vulnerabilities that were fixed in the specified version update.
4.x
- 4.16.0
- The dependency
forwardedhas been updated to address a vulnerability. This may affect your application if the following APIs are used:req.host,req.hostname,req.ip,req.ips,req.protocol. - The dependency
mimehas been updated to address a vulnerability, but this issue does not impact Express. - The dependency
sendhas been updated to provide a protection against a Node.js 8.5.0 vulnerability. This only impacts running Express on the specific Node.js version 8.5.0.
- The dependency
- 4.15.5
- The dependency
debughas been updated to address a vulnerability, but this issue does not impact Express. - The dependency
freshhas been updated to address a vulnerability. This will affect your application if the following APIs are used:express.static,req.fresh,res.json,res.jsonp,res.send,res.sendfileres.sendFile,res.sendStatus.
- The dependency
- 4.15.3
- The dependency
mshas been updated to address a vulnerability. This may affect your application if untrusted string input is passed to themaxAgeoption in the following APIs:express.static,res.sendfile, andres.sendFile.
- The dependency
- 4.15.2
- The dependency
qshas been updated to address a vulnerability, but this issue does not impact Express. Updating to 4.15.2 is a good practice, but not required to address the vulnerability.
- The dependency
- 4.11.1
- Fixed root path disclosure vulnerability in
express.static,res.sendfile, andres.sendFile
- Fixed root path disclosure vulnerability in
- 4.10.7
- Fixed open redirect vulnerability in
express.static(advisory, CVE-2015-1164).
- Fixed open redirect vulnerability in
- 4.8.8
- Fixed directory traversal vulnerabilities in
express.static(advisory , CVE-2014-6394).
- Fixed directory traversal vulnerabilities in
- 4.8.4
- Node.js 0.10 can leak
fds in certain situations that affectexpress.staticandres.sendfile. Malicious requests could causefds to leak and eventually lead toEMFILEerrors and server unresponsiveness.
- Node.js 0.10 can leak
- 4.8.0
- Sparse arrays that have extremely high indexes in the query string could cause the process to run out of memory and crash the server.
- Extremely nested query string objects could cause the process to block and make the server unresponsive temporarily.
3.x
- 3.19.1
- Fixed root path disclosure vulnerability in
express.static,res.sendfile, andres.sendFile
- Fixed root path disclosure vulnerability in
- 3.19.0
- Fixed open redirect vulnerability in
express.static(advisory, CVE-2015-1164).
- Fixed open redirect vulnerability in
- 3.16.10
- Fixed directory traversal vulnerabilities in
express.static.
- Fixed directory traversal vulnerabilities in
- 3.16.6
- Node.js 0.10 can leak
fds in certain situations that affectexpress.staticandres.sendfile. Malicious requests could causefds to leak and eventually lead toEMFILEerrors and server unresponsiveness.
- Node.js 0.10 can leak
- 3.16.0
- Sparse arrays that have extremely high indexes in query string could cause the process to run out of memory and crash the server.
- Extremely nested query string objects could cause the process to block and make the server unresponsive temporarily.
- 3.3.0
- The 404 response of an unsupported method override attempt was susceptible to cross-site scripting attacks.