Skip to content
porro

Advisories  /  composer  /  symfony/security-http  /  CVE-2024-51996

HIGH7.5 Composer

Symfony has an Authentication Bypass via RememberMe (CVE-2024-51996)

CVE-2024-51996 GHSA-cg23-qf8f-62rr Published 13 Nov 2024

Fixed in symfony/security-http 5.4.47 and 6.4.15 and 7.1.8.

$ composer require symfony/security-http:^5.4.47
$ composer require symfony/security-http:^6.4.15
$ composer require symfony/security-http:^7.1.8

Run the one for the major version you’re on: each fix stays within its release line.

Which versions are affected

Package Affected Fixed in
symfony/security-http ≥ 5.3.0, < 5.4.47≥ 6.0.0-BETA1, < 6.4.15≥ 7.0.0-BETA1, < 7.1.8 5.4.476.4.157.1.8

Check a site from its project folder: composer show symfony/security-http shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of symfony/security-http is safe from CVE-2024-51996?

7.1.8 and later. Versions affected: ≥ 5.3.0, < 5.4.47, ≥ 6.0.0-BETA1, < 6.4.15, ≥ 7.0.0-BETA1, < 7.1.8.