Description
The Crumb plugin before 3.0.0 for Node.js does not properly restrict token access in situations where a hapi route handler has CORS enabled, which allows remote attackers to obtain sensitive information, and potentially obtain the ability to spoof requests to non-CORS routes, via a crafted web site that is visited by an application consumer.
Remediation
References
https://github.com/hapijs/crumb/commit/5e6d4f5c81677fe9e362837ffd4a02394303db3c
https://nodesecurity.io/advisories/crumb_cors_token_disclosure
Related Vulnerabilities
CVE-2020-10687 Vulnerability in maven package io.undertow:undertow-core
CVE-2019-1003071 Vulnerability in maven package hudson.plugins.octopusdeploy:octopusdeploy
CVE-2022-28220 Vulnerability in maven package org.apache.james.protocols:protocols-netty
CVE-2019-10313 Vulnerability in maven package org.jenkins-ci.plugins:twitter