CVE-2019-18888
Argument injection in a MimeTypeGuesser in Symfony
Reported by mitre · Published November 21, 2019
symfony/symfony is fixed in 4.3.8, 4.2.12, 3.4.35 and 1 more (Packagist)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| symfony/symfony | Packagist | 4.3.8, 4.2.12, 3.4.35, 2.8.52 |
| symfony/mime | Packagist | 4.3.8 |
| symfony | sensiolabs | 4.3.7, 4.2.11, 3.4.34, 2.8.50 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| symfony | mime | 4.3.0 |
| n/a | n/a | * |
| symfony | http-foundation | 4.3.0, 2.0.0, 3.0.0 |
| symfony | symfony | 2.0.0, 3.0.0, 4.0.0 |
Timeline
- Nov 21, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 10, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Sep 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-18888
vulnetix vdb fixes CVE-2019-18888
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-18888/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- FEDORA-2019-9c2ad3b018 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-5ae4fd9203 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-8b0ba02338 vendor-advisoryx_refsource_FEDORA
- https://symfony.com/cve-2019-18888 url