http-parser-2.7.1-8.el7

エラータID: AXSA:2019-4071:01

Release date: 
Monday, August 19, 2019 - 18:04
Subject: 
http-parser-2.7.1-8.el7
Affected Channels: 
Asianux Server 7 for x86_64
Severity: 
Moderate
Description: 

The http-parser package provides a utility for parsing HTTP messages. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any system calls or allocations, it does not buffer data, and it can be interrupted at any time. Depending on your architecture, it only requires about 40 bytes of data per message stream.

Security Fix(es):

* nodejs: Denial of Service with large HTTP headers (CVE-2018-12121)

* nodejs: HTTP parser allowed for spaces inside Content-Length header values (CVE-2018-7159)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2018-12121
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-7159
The HTTP parser in all current versions of Node.js ignores spaces in the `Content-Length` header, allowing input such as `Content-Length: 1 2` to be interpreted as having a value of `12`. The HTTP specification does not allow for spaces in the `Content-Length` value and the Node.js HTTP parser has been brought into line on this particular difference. The security risk of this flaw to Node.js users is considered to be VERY LOW as it is difficult, and may be impossible, to craft an attack that makes use of this flaw in a way that could not already be achieved by supplying an incorrect value for `Content-Length`. Vulnerabilities may exist in user-code that make incorrect assumptions about the potential accuracy of this value compared to the actual length of the data supplied. Node.js users crafting lower-level HTTP utilities are advised to re-check the length of any input supplied after parsing is complete.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. http-parser-2.7.1-8.el7.src.rpm
    MD5: b4e5517bf75cf3e248f948cbb7d4277a
    SHA-256: 3456fdac90ba18018238d06dc1c0bceffc3f581d2be5aa468256db6c9990a12c
    Size: 59.94 kB

Asianux Server 7 for x86_64
  1. http-parser-2.7.1-8.el7.x86_64.rpm
    MD5: aa42946e589ed7e8d79002a544a830ce
    SHA-256: cbd5c7b6e7d06e6d50295d0f258a01000fd5723bcec8562c5dbb4a021653df81
    Size: 27.97 kB
  2. http-parser-2.7.1-8.el7.i686.rpm
    MD5: 644bef2730b6f115aca671281ce02ad7
    SHA-256: 95084dbbcc4acda0678b71d43ef9a37d1f8590d91ad60dca5b253fff80c2a474
    Size: 27.16 kB