CVE-2022-24895Sensiolabs Symfony
High 8.8 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Feb 3, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/security-bundle |
≥ 2.0.0 < 4.4.50 |
4.4.50 |
composer require "symfony/security-bundle:^4.4.50" |
| Packagist | symfony/security-bundle |
≥ 5.0.0 < 5.4.20 |
5.4.20 |
composer require "symfony/security-bundle:^5.4.20" |
| Packagist | symfony/security-bundle |
≥ 6.0.0 < 6.0.20 |
6.0.20 |
composer require "symfony/security-bundle:^6.0.20" |
| Packagist | symfony/security-bundle |
≥ 6.1.0 < 6.1.12 |
6.1.12 |
composer require "symfony/security-bundle:^6.1.12" |
| Packagist | symfony/security-bundle |
≥ 6.2.0 < 6.2.6 |
6.2.6 |
composer require "symfony/security-bundle:^6.2.6" |
| Packagist | symfony/symfony |
≥ 2.0.0 < 4.4.50 |
4.4.50 |
composer require "symfony/symfony:^4.4.50" |
| Packagist | symfony/symfony |
≥ 5.0.0 < 5.4.20 |
5.4.20 |
composer require "symfony/symfony:^5.4.20" |
| Packagist | symfony/symfony |
≥ 6.0.0 < 6.0.20 |
6.0.20 |
composer require "symfony/symfony:^6.0.20" |
| Packagist | symfony/symfony |
≥ 6.1.0 < 6.1.12 |
6.1.12 |
composer require "symfony/symfony:^6.1.12" |
| Packagist | symfony/symfony |
≥ 6.2.0 < 6.2.6 |
6.2.6 |
composer require "symfony/symfony:^6.2.6" |
Per OSV / GitHub Advisories (GHSA-3gv2-29qc-v67m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 2.0.0 < 4.4.50 |
| sensiolabs | symfony | ≥ 5.0.0 < 5.4.20 |
| sensiolabs | symfony | ≥ 6.0.0 < 6.0.20 |
| sensiolabs | symfony | ≥ 6.1.0 < 6.1.12 |
| sensiolabs | symfony | ≥ 6.2.0 < 6.2.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Patch
- github.com Patch
- github.com Patch Third Party Advisory
- lists.debian.org