An issue was discovered in the Security component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. By default, a user's session is invalidated when the user is logged out. This behavior can be disabled through the invalidate_session option. In this case, CSRF tokens were not erased during logout which allowed for CSRF token fixation.
| Software | From | Fixed in |
|---|---|---|
| sensiolabs / symfony | 2.7.0 | 2.7.48 |
| sensiolabs / symfony | 2.8.0 | 2.8.41 |
| sensiolabs / symfony | 3.3.0 | 3.3.17 |
| sensiolabs / symfony | 3.4.0 | 3.4.11 |
| sensiolabs / symfony | 4.0.0 | 4.0.11 |
| debian / debian_linux | 9.0 | 9.0.x |