symfony/routing is vulnerable to Open Redirect
61
Medium Risk
The UrlGenerator percent-encodes . and .. path segments so generated URLs remain on the originating route after RFC 3986 dot-segment normalization. The pre-fix strtr() logic skipped every other chained ./ or ../ segment, leaving some dot-segments unescaped. When a route parameter uses a permissive requirement such as .+ or .*, attacker-controlled chained dot segments can produce a URL that strict RFC-3986 consumers normalize to a different path than the route that generated it. The fix encodes every dot-segment in a single left-to-right pass.
You are affected if you are using a version that falls within the vulnerable range.
symfony/routing is vulnerable to Open Redirect in versions 0.0.1 - 5.4.52, 6.0.0 - 6.4.40, 7.0.0 - 7.4.12 and 8.0.0 - 8.0.12.
Upgrade the symfony/routing and/or the symfony/symfony library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant