Advisory

GHSA-jxgr-3v7q-3w9v

Also known as: CVE-2024-50341

Summary

Symfony's Security::login does not take into account custom user_checker

Details

Description

The custom user_checker defined on a firewall is not called when Login Programmaticaly with the Security::login method, leading to unwanted login.

Resolution

The Security::login method now ensure to call the configured user_checker.

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

Credits

We would like to thank Oleg Andreyev, Antoine MAKDESSI for reporting the issue and Christian Flothmann for providing the fix.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-11-06 15:13 UTC
Modified
2024-11-07 00:09 UTC

Affected packages and fixes

symfony/security-bundle

Packagist · All systems

Affected

  • introduced 6.2.0, fixed 6.4.10 (ecosystem)

Fixed versions

6.4.10

Fix

The export has no generic command for this ecosystem.

symfony/security-bundle

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.0.10 (ecosystem)

Fixed versions

7.0.10

Fix

The export has no generic command for this ecosystem.

symfony/security-bundle

Packagist · All systems

Affected

  • introduced 7.1.0, fixed 7.1.3 (ecosystem)

Fixed versions

7.1.3

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 6.2.0, fixed 6.4.10 (ecosystem)

Fixed versions

6.4.10

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.0.10 (ecosystem)

Fixed versions

7.0.10

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 7.1.0, fixed 7.1.3 (ecosystem)

Fixed versions

7.1.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences