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 `*`).
Remediation
References
https://github.com/hapijs/hapi/issues/2980
https://nodesecurity.io/advisories/65
Related Vulnerabilities
CVE-2018-16487 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2023-26158 Vulnerability in maven package org.webjars.npm:mockjs
CVE-2021-39178 Vulnerability in npm package next
CVE-2022-25881 Vulnerability in npm package http-cache-semantics
CVE-2021-46320 Vulnerability in npm package @openzeppelin/contracts