srvx is vulnerable to Information Disclosure
59
CVE Score
Medium
Information Disclosure
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.
Upgrade the srvx library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and serve files using the static file middleware.
0.8.3 - 0.11.22
Fixed in 0.12.0srvx is vulnerable to Information Disclosure in versions 0.8.3 - 0.11.22.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.