Resource Exhaustion Affecting http-parser package, versions <0:2.7.1-8.amzn2


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.75% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-HTTPPARSER-1674726
  • published27 Sept 2021
  • disclosed28 Nov 2018

Introduced: 28 Nov 2018

CVE-2018-12121  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 http-parser to version 0:2.7.1-8.amzn2 or higher.
This issue was patched in ALAS2-2019-1322.

NVD Description

Note: Versions mentioned in the description apply only to the upstream http-parser package and not the http-parser package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1