Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hapi
  4. ›
  5. GMS-2020-731

GMS-2020-731: Denial of Service in hapi

September 3, 2020

All Versions of hapi are vulnerable to Denial of Service. The CORS request handler has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.

Recommendation

This package is deprecated and is now maintained as @hapi/hapi. Please update your dependencies to use @hapi/hapi.

References

  • github.com/advisories/GHSA-7hx8-2rxv-66xv
  • www.npmjs.com/advisories/1481

Code Behaviors & Features

Detect and mitigate GMS-2020-731 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Source file

npm/hapi/GMS-2020-731.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.