Description
Plack::App::File in Plack before 1.0031 removes trailing slash characters from paths, which allows remote attackers to bypass the whitelist of generated files and obtain sensitive information via a crafted path, related to Plack::Middleware::Static.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libplack-perl | 1.0031-1 | — |
| Debian 13 | libplack-perl | 1.0031-1 | — |
| Debian 12 | libplack-perl | 1.0031-1 | — |
| Debian 6.0 | libplack-perl | 0.9941-1+deb6u1 | DLA-61-1 |
Advisories 1
- DLA-61-1 libplack-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [oss-security] 20140816 Re: CVE Request: Plack::App::File does not prune trailing slashes: possible code exposure / information disclosure mailing-list
- FEDORA-2014-9544 vendor-advisory
- https://github.com/avar/Plack/commit/bc1731dbb53850c380875ad683cd87c8ec99eee3
- 109928 vdb-entry
- https://github.com/plack/Plack/issues/405
- http://api.metacpan.org/source/MIYAGAWA/Plack-1.0031/Changes
- FEDORA-2014-9542 vendor-advisory