CVE-2017-16654
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure.
- Exploit odds
- 2.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.7% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.7% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Sensiolabs Symfony ≤ 2.7.37
- Sensiolabs Symfony ≤ 3.2.13
- Sensiolabs Symfony ≤ 3.3.12
- Sensiolabs Symfony ≤ 3.8.30
- Debian Linux 8.0
- Debian Linux 9.0
Attack profile CVSS 3.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-16654.md and follow it. Check whether this project is affected by CVE-2017-16654. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/symfony/symfony/pull/24994
- https://symfony.com/blog/cve-2017-16654-intl-bundle-readers-breaking-out-of-paths
- https://github.com/symfony/symfony/pull/24994
- https://symfony.com/blog/cve-2017-16654-intl-bundle-readers-breaking-out-of-paths
References
- https://github.com/symfony/symfony/pull/24994
- https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
- https://symfony.com/blog/cve-2017-16654-intl-bundle-readers-breaking-out-of-paths
- https://www.debian.org/security/2018/dsa-4262
- https://github.com/symfony/symfony/pull/24994
- https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
- https://symfony.com/blog/cve-2017-16654-intl-bundle-readers-breaking-out-of-paths
- https://www.debian.org/security/2018/dsa-4262