Cross-site Request Forgery (CSRF) Affecting symfony/symfony package, versions >=2.7.0, <2.7.38>=2.8.0, <2.8.31>=3.0.0, <3.1.0>=3.1.0, <3.2.0>=3.2.0, <3.2.14>=3.3.0, <3.3.13>=3.4-BETA0, <3.4-BETA5>=4.0-BETA0, <4.0-BETA5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYMFONYSYMFONY-70380
  • published4 Dec 2017
  • disclosed16 Nov 2017
  • creditOliver Hoff

Introduced: 16 Nov 2017

CVE-2017-16653  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade symfony/symfony to version 2.7.38, 2.8.31, 3.1.0, 3.2.0, 3.2.14, 3.3.13, 3.4-BETA5, 4.0-BETA5 or higher.

Overview

symfony/symfony is a PHP framework for web applications and a set of reusable PHP components.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The implementation of CSRF protection do not use different tokens for HTTP and HTTPS, therefore the token is subject to MITM attacks on HTTP and could then be used in HTTPS context to do CSRF attacks.

CVSS Scores

version 3.1