Skip to content

Content length header getting set inappropriatly #2893

@patrickhousley

Description

@patrickhousley

Express is adding a content length header even when the transfer-encoding is chunked. This is an issue in Node 5.6 since they upgraded to http-parser 2.6.1 (https://nodejs.org/en/blog/release/v5.6.0/). Specifically, this is related to CVE-2016-2086. Need to modify line 179-180 of response.js and enclose it in a logical IF to test if transfer-encoding is 'chunked'.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions