Vulnerability DatabaseGHSA-7hx8-2rxv-66xv

GHSA-7hx8-2rxv-66xv
JavaScript vulnerability analysis and mitigation

Overview

A high-severity Denial of Service vulnerability was identified in the hapi npm package (GHSA-7hx8-2rxv-66xv). The vulnerability was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. The vulnerability affects all versions of the hapi package (GitHub Advisory).

Technical details

The vulnerability exists in the CORS request handler of the hapi package. The handler contains a flaw that causes the function to throw a system error when encountering invalid header values. This occurs specifically when there is no unhandled exception handler available in the application (GitHub Advisory).

Impact

When exploited, this vulnerability can cause the application to exit, effectively allowing attackers to shut down services. This creates a denial of service condition that affects the availability of applications using the vulnerable hapi package (GitHub Advisory).

Exploitability

The vulnerability can be triggered by sending requests with specifically crafted invalid header values to applications using any version of the hapi package. No specific exploit complexity details were provided in the advisory (GitHub Advisory).

Mitigation and workarounds

The original hapi package is deprecated, and users are strongly recommended to update their dependencies to use @hapi/hapi, which is the maintained version of the package. No direct patches are available for the original hapi package (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-55157HIGH8.4
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-35219HIGH7.1
  • JavaScript logoJavaScript
  • @budibase/server
NoYesAug 14, 2026
CVE-2026-55156MEDIUM5.3
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-50029MEDIUM5.3
  • JavaScript logoJavaScript
  • js-toml
NoYesAug 14, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • trix
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management