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://nodesecurity.io/advisories/65
https://github.com/hapijs/hapi/issues/2980
Related Vulnerabilities
CVE-2022-43403 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2020-10687 Vulnerability in maven package io.undertow:undertow-core
CVE-2022-41936 Vulnerability in maven package org.xwiki.platform:xwiki-platform-rest-server
CVE-2017-16173 Vulnerability in npm package utahcityfinder
CVE-2020-2235 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-maven-parent