Live threats

All CVEs / Sensiolabs

CVE-2017-16653Sensiolabs Symfony

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Aug 6, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks.

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.7.0 < 2.7.38 2.7.38 composer require "symfony/security:^2.7.38"
Packagist symfony/security ≥ 2.8.0 < 2.8.31 2.8.31 composer require "symfony/security:^2.8.31"
Packagist symfony/security ≥ 3.0.0 < 3.2.14 3.2.14 composer require "symfony/security:^3.2.14"
Packagist symfony/security ≥ 3.3.0 < 3.3.13 3.3.13 composer require "symfony/security:^3.3.13"
Packagist symfony/security-csrf ≥ 2.7.0 < 2.7.38 2.7.38 composer require "symfony/security-csrf:^2.7.38"
Packagist symfony/security-csrf ≥ 2.8.0 < 2.8.31 2.8.31 composer require "symfony/security-csrf:^2.8.31"
Packagist symfony/security-csrf ≥ 3.0.0 < 3.2.14 3.2.14 composer require "symfony/security-csrf:^3.2.14"
Packagist symfony/security-csrf ≥ 3.3.0 < 3.3.13 3.3.13 composer require "symfony/security-csrf:^3.3.13"
Packagist symfony/symfony ≥ 2.7.0 < 2.7.38 2.7.38 composer require "symfony/symfony:^2.7.38"
Packagist symfony/symfony ≥ 2.8.0 < 2.8.31 2.8.31 composer require "symfony/symfony:^2.8.31"
Packagist symfony/symfony ≥ 3.0.0 < 3.2.14 3.2.14 composer require "symfony/symfony:^3.2.14"
Packagist symfony/symfony ≥ 3.3.0 < 3.3.13 3.3.13 composer require "symfony/symfony:^3.3.13"

Per OSV / GitHub Advisories (GHSA-92x6-h2gr-8gxq). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 2.7.0 ≤ 2.7.37
sensiolabssymfony≥ 3.2.0 ≤ 3.2.13
sensiolabssymfony≥ 3.3.0 ≤ 3.3.12
sensiolabssymfony≥ 3.8.0 ≤ 3.8.30
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.