Live threats

All CVEs / Sensiolabs

CVE-2017-16654Sensiolabs Symfony

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Aug 6, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist symfony/intl ≥ 2.7.0 < 2.7.38 2.7.38 composer require "symfony/intl:^2.7.38"
Packagist symfony/intl ≥ 2.8.0 < 2.8.31 2.8.31 composer require "symfony/intl:^2.8.31"
Packagist symfony/intl ≥ 3.0.0 < 3.2.14 3.2.14 composer require "symfony/intl:^3.2.14"
Packagist symfony/intl ≥ 3.3.0 < 3.3.13 3.3.13 composer require "symfony/intl:^3.3.13"
Packagist symfony/symfony ≥ 2.7.0 < 2.7.38 2.7.38 composer require "symfony/symfony:^2.7.38"
Packagist symfony/symfony ≥ 2.8.0 < 2.8.31 2.8.31 composer require "symfony/symfony:^2.8.31"
Packagist symfony/symfony ≥ 3.0.0 < 3.2.14 3.2.14 composer require "symfony/symfony:^3.2.14"
Packagist symfony/symfony ≥ 3.3.0 < 3.3.13 3.3.13 composer require "symfony/symfony:^3.3.13"

Per OSV / GitHub Advisories (GHSA-c49r-8gj6-768r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sensiolabssymfony≥ 2.7.0 ≤ 2.7.37
sensiolabssymfony≥ 3.2.0 ≤ 3.2.13
sensiolabssymfony≥ 3.3.0 ≤ 3.3.12
sensiolabssymfony≥ 3.8.0 ≤ 3.8.30
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.