| Package | Affected versions | Patched versions |
|---|---|---|
| org.http4s:http4s-server_2.12 | < 0.23.35 | 0.23.35 |
| org.http4s:http4s-server_2.13 | ≥ 1.0.0-M1, < 1.0.0-M47< 0.23.35 | 1.0.0-M470.23.35 |
| org.http4s:http4s-server_3 | ≥ 1.0.0-M1, < 1.0.0-M47< 0.23.35 | 1.0.0-M470.23.35 |
The static content handlers ResourceService and WebjarService URL decode each path segment and then reject only segments that are exactly "", ".", or "..". A percent-encoded separator (%2F) lets an attacker smuggle a ../ segment past that filter and escape the configured base, reading resources that should not be public.
On Windows, a similar attack exists with (%5C).
Disclosure of classpath or webjar resources outside the configured base.
ResourceService (with a non-root base path) or WebjarServicesbt run, exploded .war)%2F/%5C without normalizing (e.g., Ember, Blaze)The patch rejects any decoded path segment containing / (%2F) or \ (%5C) with a 400 Bad Request in ResourceService and WebjarService.
FileService was not exploitable, but the same guards are applied for consistency and to remove its reliance on path normalization.
%2F and %5C in the request path.Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free