srvx is vulnerable to Information Disclosure
59
Medium Risk
The static file middleware (serveStatic) serves files from a directory but only checks containment lexically and does not resolve symbolic links, so a symlink inside the served root can expose arbitrary files elsewhere on the host. It also fails to deny dotfiles that carry an extension, allowing sensitive files such as environment files and version-control metadata to be fetched directly. On-the-fly Brotli compression runs at maximum quality without size bounds, enabling CPU amplification. The fix re-asserts containment against the realpath, denies dot segments by default except .well-known, and bounds compression.
You are affected if you are using a version that falls within the vulnerable range and serve files using the static file middleware.
srvx is vulnerable to Information Disclosure in versions 0.8.3 - 0.11.22.
Upgrade the srvx library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant