ALAS-2020-1359


Amazon Linux 1 Security Advisory: ALAS-2020-1359
Advisory Release Date: 2020-04-20 19:21 Pacific
Advisory Updated Date: 2020-04-23 23:03 Pacific
Severity: Important

Issue Overview:

A flaw was found in the Node.js code where a specially crafted HTTP(s) request sent to a Node.js server failed to properly process the HTTP(s) headers, resulting in a request smuggling attack. An attacker can use this flaw to alter a request sent as an authenticated user if the Node.js server is deployed behind a proxy server that reuses connections. (CVE-2019-15605)

Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Denial of Service with large HTTP headers: By using a combination of many requests with maximum sized headers (almost 80 KB per connection), and carefully timed completion of the headers, it is possible to cause the HTTP server to abort from heap allocation failure. Attack potential is mitigated by the use of a load balancer or other proxy layer. (CVE-2018-12121)

It was found that the http module from Node.js could accept incorrect Content-Length values, containing spaces within the value, in HTTP headers. A specially crafted client could use this flaw to possibly confuse the script, causing unspecified behavior. (CVE-2018-7159)


Affected Packages:

http-parser


Issue Correction:
Run yum update http-parser to update your system.

New Packages:
i686:
    http-parser-debuginfo-2.9.3-1.2.amzn1.i686
    http-parser-devel-2.9.3-1.2.amzn1.i686
    http-parser-2.9.3-1.2.amzn1.i686

src:
    http-parser-2.9.3-1.2.amzn1.src

x86_64:
    http-parser-2.9.3-1.2.amzn1.x86_64
    http-parser-debuginfo-2.9.3-1.2.amzn1.x86_64
    http-parser-devel-2.9.3-1.2.amzn1.x86_64