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

GMS-2015-57: Route level CORS config overrides connection level defaults

December 28, 2015

When server level, connection level or route level CORS configurations are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins *).

References

  • github.com/hapijs/hapi/issues/2980

Code Behaviors & Features

Detect and mitigate GMS-2015-57 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 11.1.4

Fixed versions

  • 11.1.4

Solution

Upgrade to version 11.1.4 or above.

Source file

npm/hapi/GMS-2015-57.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:23 +0000.