Insufficient Session Expiration Affecting symfony package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-SYMFONY-3311336
  • published19 Feb 2025
  • disclosed3 Feb 2023

Introduced: 3 Feb 2023

CVE-2022-24895  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 symfony.

NVD Description

Note: Versions mentioned in the description apply only to the upstream symfony package and not the symfony package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1