{"id":"UBUNTU-CVE-2020-8287","details":"Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.","modified":"2026-02-04T03:23:24.170507Z","published":"2021-01-06T21:15:00Z","related":["USN-5563-1","USN-6380-1"],"upstream":["CVE-2020-8287"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-8287"},{"type":"REPORT","url":"https://nodejs.org/en/blog/release/v10.23.1/"},{"type":"REPORT","url":"https://github.com/nodejs/node/commit/fc70ce08f5818a286fb5899a1bc3aff5965a745e"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5563-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6380-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-8287"}],"affected":[{"package":{"name":"http-parser","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/http-parser@2.1-2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-parser-dev","binary_version":"2.1-2"},{"binary_name":"libhttp-parser2.1","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"nodejs","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nodejs@0.10.25~dfsg2-2ubuntu1.2+esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.15~dfsg1-4","0.10.21~dfsg1-1","0.10.22~dfsg1-2","0.10.23~dfsg1-1","0.10.23~dfsg1-2","0.10.23~dfsg1-3","0.10.24~dfsg1-1","0.10.25~dfsg2-2","0.10.25~dfsg2-2ubuntu1","0.10.25~dfsg2-2ubuntu1.2","0.10.25~dfsg2-2ubuntu1.2+esm1","0.10.25~dfsg2-2ubuntu1.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"nodejs","binary_version":"0.10.25~dfsg2-2ubuntu1.2+esm2"},{"binary_name":"nodejs-dev","binary_version":"0.10.25~dfsg2-2ubuntu1.2+esm2"},{"binary_name":"nodejs-legacy","binary_version":"0.10.25~dfsg2-2ubuntu1.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"http-parser","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/http-parser@2.1-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-parser-dev","binary_version":"2.1-2"},{"binary_name":"libhttp-parser2.1","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"nodejs","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/nodejs@4.2.6~dfsg-1ubuntu4.2+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.6~dfsg-1ubuntu4.2+esm2"}]}],"versions":["0.10.25~dfsg2-2ubuntu1","4.2.2~dfsg-1","4.2.3~dfsg-1","4.2.4~dfsg-1ubuntu1","4.2.4~dfsg-2","4.2.6~dfsg-1ubuntu1","4.2.6~dfsg-1ubuntu4","4.2.6~dfsg-1ubuntu4.1","4.2.6~dfsg-1ubuntu4.2","4.2.6~dfsg-1ubuntu4.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nodejs","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm2"},{"binary_name":"nodejs-dev","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm2"},{"binary_name":"nodejs-legacy","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"http-parser","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/http-parser@2.7.1-2ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-2ubuntu0.1"}]}],"versions":["2.1-2","2.1-2.1","2.7.1-1~exp1","2.7.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-parser-dev","binary_version":"2.7.1-2ubuntu0.1"},{"binary_name":"libhttp-parser2.7.1","binary_version":"2.7.1-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"nodejs","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/nodejs@8.10.0~dfsg-2ubuntu0.4+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.10.0~dfsg-2ubuntu0.4+esm2"}]}],"versions":["6.11.4~dfsg-1ubuntu1","6.11.4~dfsg-1ubuntu2","6.12.0~dfsg-1ubuntu1","6.12.0~dfsg-2ubuntu1","6.12.0~dfsg-2ubuntu2","8.10.0~dfsg-2","8.10.0~dfsg-2ubuntu0.2","8.10.0~dfsg-2ubuntu0.3","8.10.0~dfsg-2ubuntu0.4","8.10.0~dfsg-2ubuntu0.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"nodejs","binary_version":"8.10.0~dfsg-2ubuntu0.4+esm2"},{"binary_name":"nodejs-dev","binary_version":"8.10.0~dfsg-2ubuntu0.4+esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"nodejs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nodejs@10.19.0~dfsg-3ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.19.0~dfsg-3ubuntu1.1"}]}],"versions":["10.15.2~dfsg-2ubuntu1","10.17.0~dfsg-2ubuntu4","10.17.0~dfsg-2ubuntu6","10.19.0~dfsg-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnode-dev","binary_version":"10.19.0~dfsg-3ubuntu1.1"},{"binary_name":"libnode64","binary_version":"10.19.0~dfsg-3ubuntu1.1"},{"binary_name":"nodejs","binary_version":"10.19.0~dfsg-3ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"http-parser","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/http-parser@2.9.2-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-parser-dev","binary_version":"2.9.2-2"},{"binary_name":"libhttp-parser2.9","binary_version":"2.9.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}},{"package":{"name":"http-parser","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/http-parser@2.9.4-4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.4-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libhttp-parser-dev","binary_version":"2.9.4-4"},{"binary_name":"libhttp-parser2.9","binary_version":"2.9.4-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-8287.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}