Live threats

All CVEs / Sensiolabs

CVE-2016-4423Sensiolabs Symfony

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Jun 1, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The attemptAuthentication function in Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php in Symfony before 2.3.41, 2.7.x before 2.7.13, 2.8.x before 2.8.6, and 3.0.x before 3.0.6 does not limit the length of a username stored in a session, which allows remote attackers to cause a denial of service (session storage consumption) via a series of authentication attempts with long, non-existent usernames.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/security ≥ 2.3.0 < 2.3.41 2.3.41 composer require "symfony/security:^2.3.41"
Packagist symfony/security ≥ 2.4.0 < 2.7.13 2.7.13 composer require "symfony/security:^2.7.13"
Packagist symfony/security ≥ 2.8.0 < 2.8.6 2.8.6 composer require "symfony/security:^2.8.6"
Packagist symfony/security ≥ 3.0.0 < 3.0.6 3.0.6 composer require "symfony/security:^3.0.6"
Packagist symfony/security-http ≥ 2.3.0 < 2.3.41 2.3.41 composer require "symfony/security-http:^2.3.41"
Packagist symfony/security-http ≥ 2.4.0 < 2.7.13 2.7.13 composer require "symfony/security-http:^2.7.13"
Packagist symfony/security-http ≥ 2.8.0 < 2.8.6 2.8.6 composer require "symfony/security-http:^2.8.6"
Packagist symfony/security-http ≥ 3.0.0 < 3.0.6 3.0.6 composer require "symfony/security-http:^3.0.6"
Packagist symfony/symfony ≥ 2.3.0 < 2.3.41 2.3.41 composer require "symfony/symfony:^2.3.41"
Packagist symfony/symfony ≥ 2.4.0 < 2.7.13 2.7.13 composer require "symfony/symfony:^2.7.13"
Packagist symfony/symfony ≥ 2.8.0 < 2.8.6 2.8.6 composer require "symfony/symfony:^2.8.6"
Packagist symfony/symfony ≥ 3.0.0 < 3.0.6 3.0.6 composer require "symfony/symfony:^3.0.6"

Per OSV / GitHub Advisories (GHSA-whgv-8cg3-7hcm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≤ 2.3.40
sensiolabssymfony2.7.0
sensiolabssymfony2.7.1
sensiolabssymfony2.7.2
sensiolabssymfony2.7.3
sensiolabssymfony2.7.4
sensiolabssymfony2.7.5
sensiolabssymfony2.7.6
sensiolabssymfony2.7.7
sensiolabssymfony2.7.8
sensiolabssymfony2.7.9
sensiolabssymfony2.7.10
sensiolabssymfony2.7.11
sensiolabssymfony2.7.12
sensiolabssymfony2.8.0
sensiolabssymfony2.8.1
sensiolabssymfony2.8.2
sensiolabssymfony2.8.3
sensiolabssymfony2.8.4
sensiolabssymfony2.8.5
sensiolabssymfony3.0.0
sensiolabssymfony3.0.1
sensiolabssymfony3.0.2
sensiolabssymfony3.0.3
sensiolabssymfony3.0.4
sensiolabssymfony3.0.5
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.