2 matches found
GHSA-8PVW-JCV7-9CMJ @fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths
Impact @fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate slashes in the pathname used for file resolution. Non-canonical pathnames such as //file, /./file, or /public/../private/file bypass allowedPath filtering while resolving to the intended file o...
Incorrect Behavior Order: Validate Before Canonicalize
Overview @fastify/static is a Plugin for serving static files as fast as possible. Affected versions of this package are vulnerable to Incorrect Behavior Order: Validate Before Canonicalize via non-canonical URL path handling in the allowedPath check in index.js. An attacker can bypass file/subtr...