VDB
Sign up
HIGH7.5

GHSA-c49r-8gj6-768r

Symfony Directory Traversal

Quick fix

GHSA-c49r-8gj6-768r — symfony/intl: upgrade to the fixed version with the command below.

composer require symfony/intl:^2.7.38

Details

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 Intl component includes various bundle readers that are used to read resource bundles from the local filesystem. The read() methods of these classes use a path and a locale to determine the language bundle to retrieve. The locale argument value is commonly retrieved from untrusted user input (like a URL parameter). An attacker can use this argument to navigate to arbitrary directories via the dot-dot-slash attack, aka Directory Traversal.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symfony/intl
Introduced in: 2.7.0Fixed in: 2.7.38
Fixcomposer require symfony/intl:^2.7.38
Packagist/symfony/intl
Introduced in: 2.8.0Fixed in: 2.8.31
Fixcomposer require symfony/intl:^2.8.31
Packagist/symfony/intl
Introduced in: 3.0.0Fixed in: 3.2.14
Fixcomposer require symfony/intl:^3.2.14
Packagist/symfony/intl
Introduced in: 3.3.0Fixed in: 3.3.13
Fixcomposer require symfony/intl:^3.3.13
Packagist/symfony/symfony
Introduced in: 2.7.0Fixed in: 2.7.38
Fixcomposer require symfony/symfony:^2.7.38
Packagist/symfony/symfony
Introduced in: 2.8.0Fixed in: 2.8.31
Fixcomposer require symfony/symfony:^2.8.31
Packagist/symfony/symfony
Introduced in: 3.0.0Fixed in: 3.2.14
Fixcomposer require symfony/symfony:^3.2.14
Packagist/symfony/symfony
Introduced in: 3.3.0Fixed in: 3.3.13
Fixcomposer require symfony/symfony:^3.3.13

References