Skip to content
OpenAdvisories
Low · 3.1 CVE-2024-50341 EUVD-2024-3280GHSA-jxgr-3v7q-3w9v

Security::login does not take into account custom user_checker in symfony/security-bundle

Published Nov 6, 2024 · Updated Nov 7, 2024 · Assigned by GitHub_M

Description

symfony/security-bundle is a module for the Symphony PHP framework which provides a tight integration of the Security component into the Symfony full-stack framework. The custom `user_checker` defined on a firewall is not called when Login Programmaticaly with the `Security::login` method, leading to unwanted login. As of versions 6.4.10, 7.0.10 and 7.1.3 the `Security::login` method now ensure to call the configured `user_checker`. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected products

VendorProductAffectedFixed
symfony symfony >= 6.2.0, < 6.4.10, >= 7.0.0, < 7.0.10, >= 7.1.0, < 7.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 6.4.10+dfsg-1 —
Debian 13 symfony 6.4.10+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS symfony 6.4.5+dfsg-3ubuntu3+esm1 USN-7272-1
Ubuntu Pro 22.04 LTS symfony 5.4.4+dfsg-1ubuntu8+esm1 USN-7272-1
Ubuntu Pro 20.04 LTS symfony 4.3.8+dfsg-1ubuntu1+esm2 USN-7272-1

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/security-bundle >= 6.2.0, < 6.4.10 6.4.10 GHSA-jxgr-3v7q-3w9v
Packagist symfony/security-bundle >= 7.0.0, < 7.0.10 7.0.10 GHSA-jxgr-3v7q-3w9v
Packagist symfony/security-bundle >= 7.1.0, < 7.1.3 7.1.3 GHSA-jxgr-3v7q-3w9v
Packagist symfony/symfony >= 6.2.0, < 6.4.10 6.4.10 GHSA-jxgr-3v7q-3w9v
Packagist symfony/symfony >= 7.0.0, < 7.0.10 7.0.10 GHSA-jxgr-3v7q-3w9v
Packagist symfony/symfony >= 7.1.0, < 7.1.3 7.1.3 GHSA-jxgr-3v7q-3w9v

Advisories 1

References