CyberRota Analysis
AI-GeneratedThe actix-files crate prior to version 0.6.10 is vulnerable to information exposure due to improper handling of non-existing folder paths in the serve_from argument. This flaw allows attackers to craft requests that resolve to relative paths, potentially granting access to sensitive files within the application's working directory. Developers and organizations utilizing this crate should prioritize updating to the latest version to mitigate the risk of unauthorized file access.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
The actix-files crate (actix_files) before version 0.6.10 contains an information exposure vulnerability. When a non-existing folder is passed as the serve_from argument to Files::new(), the mount path defaults to an empty path; the service then joins the request path with this empty path and canonicalizes it, causing Rust to resolve it as a relative path. As a result, an attacker can request paths that resolve relative to the application's working directory and access unintended files.