Every CVE Search/ Get API key

CVE-2017-16653

Symfony CSRF Vulnerability

5.9 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.49%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.9

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.

Record
CVE-2017-16653
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:P/I:N/A:N
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-16653
Updated
2026-11-02
EUVDEUVD-2022-3279 No score

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.

Record
EUVD-2022-3279
Updated
2026-11-03
GitHub AdvisoriesGHSA-92x6-h2gr-8gxq 5.9

Symfony CSRF Vulnerability

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.

Record
GHSA-92x6-h2gr-8gxq
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-352
Updated
2026-11-02
OSV 5.9

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.

Record
CVE-2017-16653
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2017-16653 5.9

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.

Record
DEBIAN-CVE-2017-16653
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-92x6-h2gr-8gxq 5.9

Symfony CSRF Vulnerability

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.

Record
GHSA-92x6-h2gr-8gxq
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-352
Updated
2026-11-02
OSVUBUNTU-CVE-2017-16653 5.9

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.

Record
UBUNTU-CVE-2017-16653
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
symfony/security-csrf
Packagist
2.7.0 up to 2.7.38
2.7.38
symfony/security-csrf
Packagist
2.8.0 up to 2.8.31
2.8.31
symfony/security-csrf
Packagist
3.0.0 up to 3.2.14
3.2.14
symfony/security-csrf
Packagist
3.3.0 up to 3.3.13
3.3.13
symfony/security
Packagist
2.7.0 up to 2.7.38
2.7.38
symfony/security
Packagist
2.8.0 up to 2.8.31
2.8.31
symfony/security
Packagist
3.0.0 up to 3.2.14
3.2.14
symfony/security
Packagist
3.3.0 up to 3.3.13
3.3.13
symfony/symfony
Packagist
2.7.0 up to 2.7.38
2.7.38
symfony/symfony
Packagist
2.8.0 up to 2.8.31
2.8.31
Show 19 moreShow less
Affected packages
PackageAffectedFixed
symfony/symfony
Packagist
3.0.0 up to 3.2.14
3.2.14
symfony/symfony
Packagist
3.3.0 up to 3.3.13
3.3.13
symfony
Debian:12
before 3.4.0+dfsg-1
3.4.0+dfsg-1
symfony
Debian:13
before 3.4.0+dfsg-1
3.4.0+dfsg-1
symfony
Debian:14
before 3.4.0+dfsg-1
3.4.0+dfsg-1
symfony
Debian:9
From an advisory covering 8 CVEs
before 2.8.7+dfsg-1.3+deb9u1, plus listed versions
2.8.7+dfsg-1.3
2.8.7+dfsg-1.3+deb9u1
symfony/security-csrf
Packagist
2.7.0 up to 2.7.38, plus listed versions
v2.7.0v2.7.1v2.7.10v2.7.11v2.7.12
Show 33 moreShow less
v2.7.13v2.7.14v2.7.15v2.7.16v2.7.17v2.7.18v2.7.19v2.7.2v2.7.20v2.7.21v2.7.22v2.7.23v2.7.24v2.7.25v2.7.26v2.7.27v2.7.28v2.7.29v2.7.3v2.7.30v2.7.31v2.7.32v2.7.33v2.7.34v2.7.35v2.7.36v2.7.37v2.7.4v2.7.5v2.7.6v2.7.7v2.7.8v2.7.9
2.7.38
symfony/security-csrf
Packagist
2.8.0 up to 2.8.31, plus listed versions
v2.8.0v2.8.1v2.8.10v2.8.11v2.8.12
Show 26 moreShow less
v2.8.13v2.8.14v2.8.15v2.8.16v2.8.17v2.8.18v2.8.19v2.8.2v2.8.20v2.8.21v2.8.22v2.8.23v2.8.24v2.8.25v2.8.26v2.8.27v2.8.28v2.8.29v2.8.3v2.8.30v2.8.4v2.8.5v2.8.6v2.8.7v2.8.8v2.8.9
2.8.31
symfony/security-csrf
Packagist
3.0.0 up to 3.2.14, plus listed versions
v3.0.0v3.0.1v3.0.2v3.0.3v3.0.4
Show 35 moreShow less
v3.0.5v3.0.6v3.0.7v3.0.8v3.0.9v3.1.0v3.1.0-BETA1v3.1.0-RC1v3.1.1v3.1.10v3.1.2v3.1.3v3.1.4v3.1.5v3.1.6v3.1.7v3.1.8v3.1.9v3.2.0v3.2.0-BETA1v3.2.0-RC1v3.2.0-RC2v3.2.1v3.2.10v3.2.11v3.2.12v3.2.13v3.2.2v3.2.3v3.2.4v3.2.5v3.2.6v3.2.7v3.2.8v3.2.9
3.2.14
symfony/security-csrf
Packagist
3.3.0 up to 3.3.13, plus listed versions
v3.3.0v3.3.1v3.3.10v3.3.11v3.3.12
Show 8 moreShow less
v3.3.2v3.3.3v3.3.4v3.3.5v3.3.6v3.3.7v3.3.8v3.3.9
3.3.13
symfony/security
Packagist
2.7.0 up to 2.7.38, plus listed versions
v2.7.0v2.7.1v2.7.10v2.7.11v2.7.12
Show 33 moreShow less
v2.7.13v2.7.14v2.7.15v2.7.16v2.7.17v2.7.18v2.7.19v2.7.2v2.7.20v2.7.21v2.7.22v2.7.23v2.7.24v2.7.25v2.7.26v2.7.27v2.7.28v2.7.29v2.7.3v2.7.30v2.7.31v2.7.32v2.7.33v2.7.34v2.7.35v2.7.36v2.7.37v2.7.4v2.7.5v2.7.6v2.7.7v2.7.8v2.7.9
2.7.38
symfony/security
Packagist
2.8.0 up to 2.8.31, plus listed versions
v2.8.0v2.8.1v2.8.10v2.8.11v2.8.12
Show 26 moreShow less
v2.8.13v2.8.14v2.8.15v2.8.16v2.8.17v2.8.18v2.8.19v2.8.2v2.8.20v2.8.21v2.8.22v2.8.23v2.8.24v2.8.25v2.8.26v2.8.27v2.8.28v2.8.29v2.8.3v2.8.30v2.8.4v2.8.5v2.8.6v2.8.7v2.8.8v2.8.9
2.8.31
symfony/security
Packagist
3.0.0 up to 3.2.14, plus listed versions
v3.0.0v3.0.1v3.0.2v3.0.3v3.0.4
Show 35 moreShow less
v3.0.5v3.0.6v3.0.7v3.0.8v3.0.9v3.1.0v3.1.0-BETA1v3.1.0-RC1v3.1.1v3.1.10v3.1.2v3.1.3v3.1.4v3.1.5v3.1.6v3.1.7v3.1.8v3.1.9v3.2.0v3.2.0-BETA1v3.2.0-RC1v3.2.0-RC2v3.2.1v3.2.10v3.2.11v3.2.12v3.2.13v3.2.2v3.2.3v3.2.4v3.2.5v3.2.6v3.2.7v3.2.8v3.2.9
3.2.14
symfony/security
Packagist
3.3.0 up to 3.3.13, plus listed versions
v3.3.0v3.3.1v3.3.10v3.3.11v3.3.12
Show 8 moreShow less
v3.3.2v3.3.3v3.3.4v3.3.5v3.3.6v3.3.7v3.3.8v3.3.9
3.3.13
symfony/symfony
Packagist
2.7.0 up to 2.7.38, plus listed versions
v2.7.0v2.7.1v2.7.10v2.7.11v2.7.12
Show 33 moreShow less
v2.7.13v2.7.14v2.7.15v2.7.16v2.7.17v2.7.18v2.7.19v2.7.2v2.7.20v2.7.21v2.7.22v2.7.23v2.7.24v2.7.25v2.7.26v2.7.27v2.7.28v2.7.29v2.7.3v2.7.30v2.7.31v2.7.32v2.7.33v2.7.34v2.7.35v2.7.36v2.7.37v2.7.4v2.7.5v2.7.6v2.7.7v2.7.8v2.7.9
2.7.38
symfony/symfony
Packagist
2.8.0 up to 2.8.31, plus listed versions
v2.8.0v2.8.1v2.8.10v2.8.11v2.8.12
Show 26 moreShow less
v2.8.13v2.8.14v2.8.15v2.8.16v2.8.17v2.8.18v2.8.19v2.8.2v2.8.20v2.8.21v2.8.22v2.8.23v2.8.24v2.8.25v2.8.26v2.8.27v2.8.28v2.8.29v2.8.3v2.8.30v2.8.4v2.8.5v2.8.6v2.8.7v2.8.8v2.8.9
2.8.31
symfony/symfony
Packagist
3.0.0 up to 3.2.14, plus listed versions
v3.0.0v3.0.1v3.0.2v3.0.3v3.0.4
Show 35 moreShow less
v3.0.5v3.0.6v3.0.7v3.0.8v3.0.9v3.1.0v3.1.0-BETA1v3.1.0-RC1v3.1.1v3.1.10v3.1.2v3.1.3v3.1.4v3.1.5v3.1.6v3.1.7v3.1.8v3.1.9v3.2.0v3.2.0-BETA1v3.2.0-RC1v3.2.0-RC2v3.2.1v3.2.10v3.2.11v3.2.12v3.2.13v3.2.2v3.2.3v3.2.4v3.2.5v3.2.6v3.2.7v3.2.8v3.2.9
3.2.14
symfony/symfony
Packagist
3.3.0 up to 3.3.13, plus listed versions
v3.3.0v3.3.1v3.3.10v3.3.11v3.3.12
Show 8 moreShow less
v3.3.2v3.3.3v3.3.4v3.3.5v3.3.6v3.3.7v3.3.8v3.3.9
3.3.13
symfony
Ubuntu:16.04:LTS
All versions, plus listed versions
2.7.1+dfsg-12.7.5+dfsg-12.7.9+dfsg-12.7.9+dfsg-1ubuntu22.7.10-0ubuntu2
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16653 is a medium vulnerability (CVSS 5.9) in Sensiolabs Symfony, published August 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in symfony/security-csrf 2.7.38.

References

Show 8 moreShow less
MoveEnter Open