ALAS2-2019-1322

Related Vulnerabilities: CVE-2018-12121   CVE-2018-7159  

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)

ALAS2-2019-1322


Amazon Linux 2 Security Advisory: ALAS-2019-1322
Advisory Release Date: 2019-10-21 18:01 Pacific
Advisory Updated Date: 2019-10-23 23:46 Pacific
Severity: Medium

Issue Overview:

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:
aarch64:
    http-parser-2.7.1-8.amzn2.aarch64
    http-parser-devel-2.7.1-8.amzn2.aarch64
    http-parser-debuginfo-2.7.1-8.amzn2.aarch64

i686:
    http-parser-2.7.1-8.amzn2.i686
    http-parser-devel-2.7.1-8.amzn2.i686
    http-parser-debuginfo-2.7.1-8.amzn2.i686

src:
    http-parser-2.7.1-8.amzn2.src

x86_64:
    http-parser-2.7.1-8.amzn2.x86_64
    http-parser-devel-2.7.1-8.amzn2.x86_64
    http-parser-debuginfo-2.7.1-8.amzn2.x86_64