CVE-2019-18888Sensiolabs Symfony
High 7.5 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Nov 21, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. If an application passes unvalidated user input as the file for which MIME type validation should occur, then arbitrary arguments are passed to the underlying file command. This is related to symfony/http-foundation (and symfony/mime in 4.3.x).
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/http-foundation |
≥ 2.0.0 < 2.8.52 |
2.8.52 |
composer require "symfony/http-foundation:^2.8.52" |
| Packagist | symfony/http-foundation |
≥ 3.0.0 < 3.4.35 |
3.4.35 |
composer require "symfony/http-foundation:^3.4.35" |
| Packagist | symfony/http-foundation |
≥ 4.0.0 < 4.2.12 |
4.2.12 |
composer require "symfony/http-foundation:^4.2.12" |
| Packagist | symfony/http-foundation |
≥ 4.3.0 < 4.3.8 |
4.3.8 |
composer require "symfony/http-foundation:^4.3.8" |
| Packagist | symfony/mime |
≥ 4.3.0 < 4.3.8 |
4.3.8 |
composer require "symfony/mime:^4.3.8" |
| Packagist | symfony/symfony |
≥ 2.0.0 < 2.8.52 |
2.8.52 |
composer require "symfony/symfony:^2.8.52" |
| Packagist | symfony/symfony |
≥ 3.0.0 < 3.4.35 |
3.4.35 |
composer require "symfony/symfony:^3.4.35" |
| Packagist | symfony/symfony |
≥ 4.0.0 < 4.2.12 |
4.2.12 |
composer require "symfony/symfony:^4.2.12" |
| Packagist | symfony/symfony |
≥ 4.3.0 < 4.3.8 |
4.3.8 |
composer require "symfony/symfony:^4.3.8" |
Per OSV / GitHub Advisories (GHSA-xhh6-956q-4q69). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | ≥ 2.8.0 ≤ 2.8.50 |
| sensiolabs | symfony | ≥ 3.4.0 ≤ 3.4.34 |
| sensiolabs | symfony | ≥ 4.2.0 ≤ 4.2.11 |
| sensiolabs | symfony | ≥ 4.3.0 ≤ 4.3.7 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- symfony.com Vendor Advisory
- symfony.com Release Notes