Skip to content
Fencer Intel
medium 5.9

CVE-2017-16653 json

Symfony CSRF Vulnerability

published 2018-08-06 8 y ago modified 2026-06-17 4 mo ago also GHSA-92x6-h2gr-8gxq , EUVD-2022-3279

cvss
5.9
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 74%
public exploits
0
none known

Summary

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.

Patch / fix

  • packagist symfony/security-csrf 2.7.38, 2.8.31, 3.2.14, 3.3.13
  • packagist symfony/security 2.7.38, 2.8.31, 3.2.14, 3.3.13
  • packagist symfony/symfony 2.7.38, 2.8.31, 3.2.14, 3.3.13
  • symfony Debian 14, Debian 13, Debian 12 3.4.0+dfsg-1

debian advisories DEBIAN-CVE-2017-16653

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-16653 updated cvss 7.3

php-symfony: improper CSRF token generation for HTTP and HTTPS

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.49% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
GitHub 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist symfony/security-csrf
>=2.7.0, <2.7.38
>=2.8.0, <2.8.31
>=3.0.0, <3.2.14
>=3.3.0, <3.3.13
2.7.38
2.8.31
3.2.14
3.3.13
packagist symfony/security
>=2.7.0, <2.7.38
>=2.8.0, <2.8.31
>=3.0.0, <3.2.14
>=3.3.0, <3.3.13
2.7.38
2.8.31
3.2.14
3.3.13
packagist symfony/symfony
>=2.7.0, <2.7.38
>=2.8.0, <2.8.31
>=3.0.0, <3.2.14
>=3.3.0, <3.3.13
2.7.38
2.8.31
3.2.14
3.3.13

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.