CVE-2019-18888 json
Argument injection in a MimeTypeGuesser in Symfony
published 2019-11-21 6 y ago modified 2026-06-17 4 mo ago also GHSA-xhh6-956q-4q69 , EUVD-2019-0807
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- packagist symfony/http-foundation 2.8.52, 3.4.35, 4.2.12, 4.3.8
- packagist symfony/mime 4.3.8
- packagist symfony/symfony 2.8.52, 3.4.35, 4.2.12, 4.3.8
- symfony Debian 14, Debian 13, Debian 12 4.3.8+dfsg-1
debian advisories DEBIAN-CVE-2019-18888
Exploit prediction
2.25% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | symfony/http-foundation | >=2.0.0, <2.8.52 >=3.0.0, <3.4.35 >=4.0.0, <4.2.12 >=4.3.0, <4.3.8 |
2.8.52 3.4.35 4.2.12 4.3.8 |
| packagist | symfony/mime | >=4.3.0, <4.3.8 |
4.3.8 |
| packagist | symfony/symfony | >=2.0.0, <2.8.52 >=3.0.0, <3.4.35 >=4.0.0, <4.2.12 >=4.3.0, <4.3.8 |
2.8.52 3.4.35 4.2.12 4.3.8 |
Classification
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DZNXRVHDQBNZQUCNRVZICPPBFRAUWUJX/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VXEAOEANNIVYANTMOJ42NKSU6BGNBULZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UED22BOXTL2SSFMGYKA64ZFHGLLJG3EA/
vendor-advisory
-
symfony.com
/blog/cve-2019-18888-prevent-argument-injection-in-a-mimetypeguesser
web, vendor-advisory
-
symfony.com
/blog/symfony-4-3-8-released
web, release-notes
-
github.com
/symfony/symfony/releases/tag/v4.3.8
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2019-18888
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2019-18888.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/mime/CVE-2019-18888.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-18888.yaml
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DZNXRVHDQBNZQUCNRVZICPPBFRAUWUJX
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UED22BOXTL2SSFMGYKA64ZFHGLLJG3EA
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/VXEAOEANNIVYANTMOJ42NKSU6BGNBULZ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/DZNXRVHDQBNZQUCNRVZICPPBFRAUWUJX
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UED22BOXTL2SSFMGYKA64ZFHGLLJG3EA
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/VXEAOEANNIVYANTMOJ42NKSU6BGNBULZ
web
-
symfony.com
/cve-2019-18888
web
Sources
- CVE List CVE-2019-18888
- GitHub Advisory GHSA-xhh6-956q-4q69
- NVD CVE-2019-18888
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.