GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-m2wj-r6g3-fxfxmedium6.5

Symfony possible session fixation vulnerability

Check your stack

The advisory, in context

Description

SessionStrategyListener does not always migrate the session after a successful login. It only migrate the session when the logged-in user identifier changes. In some use cases, the user identifier doesn't change between the verification phase and the successful login, while the token itself changes from one type (partially-authenticated) to another (fully-authenticated). When this happens, the session id should be regenerated to prevent possible session fixations.

Resolution

Symfony now checks the type of the token in addition to the user identifier before deciding whether the session id should be regenerated.

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Robert Meijers for reporting the issue and providing the fix.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

From 5.4.21 before 5.4.31

Fixed in 5.4.31

6 explicitly affected versions

v5.4.21, v5.4.22, v5.4.23, v5.4.26, v5.4.28, v5.4.30

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.4.21"
        },
        {
          "fixed": "5.4.31"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v5.4.21",
    "v5.4.22",
    "v5.4.23",
    "v5.4.26",
    "v5.4.28",
    "v5.4.30"
  ]
}
Ecosystem versions

From 6.2.7 before 6.3.8

Fixed in 6.3.8

13 explicitly affected versions

v6.2.10, v6.2.11, v6.2.13, v6.2.7, v6.2.8, v6.3.0, v6.3.0-BETA1, v6.3.0-RC1, v6.3.1, v6.3.2, v6.3.4, v6.3.5, v6.3.6

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "6.2.7"
        },
        {
          "fixed": "6.3.8"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v6.2.10",
    "v6.2.11",
    "v6.2.13",
    "v6.2.7",
    "v6.2.8",
    "v6.3.0",
    "v6.3.0-BETA1",
    "v6.3.0-RC1",
    "v6.3.1",
    "v6.3.2",
    "v6.3.4",
    "v6.3.5",
    "v6.3.6"
  ]
}
Ecosystem versions

From 5.4.21 before 5.4.31

Fixed in 5.4.31

10 explicitly affected versions

v5.4.21, v5.4.22, v5.4.23, v5.4.24, v5.4.25, v5.4.26, v5.4.27, v5.4.28, v5.4.29, v5.4.30

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.4.21"
        },
        {
          "fixed": "5.4.31"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v5.4.21",
    "v5.4.22",
    "v5.4.23",
    "v5.4.24",
    "v5.4.25",
    "v5.4.26",
    "v5.4.27",
    "v5.4.28",
    "v5.4.29",
    "v5.4.30"
  ]
}
Ecosystem versions

From 6.2.7 before 6.3.8

Fixed in 6.3.8

21 explicitly affected versions

v6.2.10, v6.2.11, v6.2.12, v6.2.13, v6.2.14, v6.2.7, v6.2.8, v6.2.9, v6.3.0, v6.3.0-BETA1, v6.3.0-BETA2, v6.3.0-BETA3, v6.3.0-RC1, v6.3.0-RC2, v6.3.1, v6.3.2, v6.3.3, v6.3.4, v6.3.5, v6.3.6, v6.3.7

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "6.2.7"
        },
        {
          "fixed": "6.3.8"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v6.2.10",
    "v6.2.11",
    "v6.2.12",
    "v6.2.13",
    "v6.2.14",
    "v6.2.7",
    "v6.2.8",
    "v6.2.9",
    "v6.3.0",
    "v6.3.0-BETA1",
    "v6.3.0-BETA2",
    "v6.3.0-BETA3",
    "v6.3.0-RC1",
    "v6.3.0-RC2",
    "v6.3.1",
    "v6.3.2",
    "v6.3.3",
    "v6.3.4",
    "v6.3.5",
    "v6.3.6",
    "v6.3.7"
  ]
}

References