Route level CORS config overrides connection level defaults

Module: hapi

Published: December 28th, 2015

Reported by: Eran Hammer

CVE-NONE

CWE-NONE

Vulnerable: <11.1.4
Patched: >=11.1.4

Overview

Versions of hapi prior to 11.1.4 are affected by a vulnerability that causes route-level CORS configuration to override connection-level or server-level CORS defaults. This may result in a situation where CORS permissions are less restrictive than intended.

Remediation

Update hapi to version 11.1.4 or later.

References

Issue #2980