Arbitrary Code Execution Affecting symfony/http-foundation package, versions >=2.8.0, <2.8.52 >=3.4.0, <3.4.35 >=4.2.0, <4.2.11 >=4.3.0, <4.3.8


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.36% (73rd percentile)
Expand this section
NVD
7.5 high

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 ID SNYK-PHP-SYMFONYHTTPFOUNDATION-535378
  • published 22 Nov 2019
  • disclosed 13 Nov 2019
  • credit Ivan Novikov

How to fix?

Upgrade symfony/http-foundation to version 2.8.52, 3.4.35, 4.2.11, 4.3.8 or higher.

Overview

symfony/http-foundation is a component defines an object-oriented layer for the HTTP specification.

Affected versions of this package are vulnerable to Arbitrary Code Execution. Provided file paths were not being properly escaped before being used in the FileBinaryMimeTypeGuesser resulting in potential argument injection through the provided $path variable.