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

GMS-2015-36: Incorrect handling of CORS preflight request headers

October 20, 2015

Hapi implement CORS incorrectly and allowes for configurations that at best return inconsistent headers and at worst allow cross-origin activities that are expected to be forbidden.

References

  • github.com/hapijs/hapi/issues/2840
  • github.com/hapijs/hapi/issues/2850

Code Behaviors & Features

Detect and mitigate GMS-2015-36 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 before 11.0.0

Fixed versions

  • 11.0.0

Solution

Upgrade to version 11.0.0 or above.

Source file

npm/hapi/GMS-2015-36.yml

Spotted a mistake? Edit the file on GitLab.

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

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