Skip to content
OpenAdvisories
Medium CVE-2015-9243 EUVD-2020-1119GHSA-j3g2-m5jj-6336

Unsafe Merging of CORS Configuration Conflict in hapi

Published May 29, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

When server level, connection level or route level CORS configurations in hapi node module before 11.1.4 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 `*`).

Affected products

VendorProductAffectedFixed
HackerOne hapi node module <11.1.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hapi < 11.1.4 11.1.4 GHSA-j3g2-m5jj-6336

References