[Security] Bump symfony/http-foundation from 6.4.7 to 6.4.29
Bumps symfony/http-foundation from 6.4.7 to 6.4.29. This update includes security fixes.
Vulnerabilities fixed
Symfony vulnerable to open redirect via browser-sanitized URLs
Description
The
Requestclass, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on theRequestclass to redirect users to another domain.Resolution
The
Request::createmethods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/The patch for this issue is available here for branch 5.4.
Credits
We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.
Patched versions: 7.1.7; 6.4.14; 5.4.46 Affected versions: >= 7.0.0, = 6.0.0, < 6.4.14; < 5.4.46
Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
Description
The
Requestclass improperly interprets somePATH_INFOin a way that leads to representing some URLs with a path that doesn't start with a/. This can allow bypassing some access control rules that are built with this/-prefix assumption.Resolution
The
Requestclass now ensures that URL paths always start with a/.The patch for this issue is available here for branch 5.4.
Credits
We would like to thank Andrew Atkinson for discovering the issue, Chris Smith for reporting it and Nicolas Grekas for providing the fix.
Patched versions: 7.3.7; 6.4.29; 5.4.50 Affected versions: >= 7.0.0, = 6.0.0, < 6.4.29; < 5.4.50
Release notes
Sourced from symfony/http-foundation's releases.
v6.4.29
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.28...v6.4.29)
- no significant changes
v6.4.28
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.27...v6.4.28)
- bug symfony/symfony#62324 [HttpFoundation] Fix parsing hosts and schemes in URLs (
@nicolas-grekas)- bug symfony/symfony#62246 [HttpFoundation] Allow Request::setFormat() to override predefined formats (
@longwave)v6.4.26
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.25...v6.4.26)
- bug symfony/symfony#61766 Fix ord()-related PHP 8.5 deprecations (
@nicolas-grekas)- bug symfony/symfony#61585 [HttpFoundation][SQLSRV] Change column type from
TEXTtoSTRING(@Matt-PMCT)v6.4.25
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.24...v6.4.25)
- no significant changes
v6.4.24
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.23...v6.4.24)
- no significant changes
v6.4.23
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.22...v6.4.23)
- bug symfony/symfony#60547 [HttpFoundation] Fixed 'Via' header regex (
@thecaliskan)v6.4.22
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.21...v6.4.22)
- bug symfony/symfony#60292 [HttpFoundation] Encode path in
X-Accel-Redirectheader (@Athorcis)v6.4.21
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.20...v6.4.21)
- no significant changes
v6.4.18
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.17...v6.4.18)
- bug symfony/symfony#59403 [FrameworkBundle][HttpFoundation] Reset Request's formats using the service resetter (
@nicolas-grekas)- bug symfony/symfony#59055 [HttpFoundation] Fixed
IpUtils::anonymizeexception when using IPv6 link-local addresses with RFC4007 scoping (@jbtronics)v6.4.16
Changelog (https://github.com/symfony/http-foundation/compare/v6.4.15...v6.4.16)
... (truncated)
Commits
-
b03d11eMerge branch '5.4' into 6.4 -
1ba1d5f[HttpFoundation] Fix parsing hosts and schemes in URLs -
1a0706e[HttpFoundation] Fix parsing pathinfo with no leading slash -
ee93009[HttpFoundation] Allow Request::setFormat() to override predefined formats -
3692415Fix ord()-related PHP 8.5 deprecations -
67729f8use the empty string instead of null as an array offset -
e868881SQLSRV: Change column type from TEXT to STRING -
6bc974cfix session cookie options assertions on PHP 8.5 -
0341e41CS fixes -
95f9645Fix php.net links - Additional commits viewable in compare view