actix-files
Affected
- introduced
0.0.0-0, fixed0.7.4(semver)
Fixed versions
0.7.4
Fix
- Fixed version
0.7.4cargo update -p actix-files --precise 0.7.4
Advisory
Also known as: GHSA-8hcm-m7r7-frwc
Hidden file disclosure through Windows short names
On Windows volumes with 8.3 short names, actix_files::Files can serve hidden
files through their short-name aliases. The default path check rejects segments
that start with a dot, but an alias such as ENV~1 or GIT~1 passes this check.
A remote client can read files such as .env or .git/config in the served
directory even when use_hidden_files() is not enabled. This can expose secrets
or source code.
Upgrade to actix-files 0.7.4 or later. As a workaround, remove sensitive files
and directories from the served directory.
Not rated by the source.
0.0.0-0, fixed 0.7.4 (semver)0.7.4
0.7.4cargo update -p actix-files --precise 0.7.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0