CVE-2019-18888Argument injection in a MimeTypeGuesser in Symfony
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 2.2%
- percentile 84%
- Fix
- Named by a source
- CVE published 21 Nov 2019
Reference
None of the "Needs attention" rules apply right now.
EPSS 2.2% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- symfony/http-foundation (Packagist): upgrade to 2.8.52 / 3.4.35 / 4.2.12 / 4.3.8 or later on your release line.
- symfony/mime (Packagist): upgrade to 4.3.8 or later on your release line.
- symfony/symfony (Packagist): upgrade to 2.8.52 / 3.4.35 / 4.2.12 / 4.3.8 or later on your release line.
Who should check
symfony/http-foundation (Packagist) pkg:composer/symfony/http-foundation
- Affected>= 2.0.0, < 2.8.52Fixed in2.8.52OSV (GHSA-xhh6-956q-4q69)
- Affected>= 3.0.0, < 3.4.35Fixed in3.4.35OSV (GHSA-xhh6-956q-4q69)
- Affected>= 4.0.0, < 4.2.12Fixed in4.2.12OSV (GHSA-xhh6-956q-4q69)
- Affected>= 4.3.0, < 4.3.8Fixed in4.3.8OSV (GHSA-xhh6-956q-4q69)
symfony/mime (Packagist) pkg:composer/symfony/mime
- Affected>= 4.3.0, < 4.3.8Fixed in4.3.8OSV (GHSA-xhh6-956q-4q69)
symfony/symfony (Packagist) pkg:composer/symfony/symfony
- Affected>= 2.0.0, < 2.8.52Fixed in2.8.52OSV (GHSA-xhh6-956q-4q69)
- Affected>= 3.0.0, < 3.4.35Fixed in3.4.35OSV (GHSA-xhh6-956q-4q69)
- Affected>= 4.0.0, < 4.2.12Fixed in4.2.12OSV (GHSA-xhh6-956q-4q69)
- Affected>= 4.3.0, < 4.3.8Fixed in4.3.8OSV (GHSA-xhh6-956q-4q69)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-xhh6-956q-4q69)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-20, CWE-88
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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).
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-18888
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2019-18888.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/mime/CVE-2019-18888.yaml
- otherhttps://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-18888.yaml
- otherhttps://github.com/symfony/symfony/releases/tag/v4.3.8
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DZNXRVHDQBNZQUCNRVZICPPBFRAUWUJX
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UED22BOXTL2SSFMGYKA64ZFHGLLJG3EA
- otherhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VXEAOEANNIVYANTMOJ42NKSU6BGNBULZ
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/DZNXRVHDQBNZQUCNRVZICPPBFRAUWUJX
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/UED22BOXTL2SSFMGYKA64ZFHGLLJG3EA
- otherhttps://lists.fedoraproject.org/archives/list/[email protected]/message/VXEAOEANNIVYANTMOJ42NKSU6BGNBULZ
- otherhttps://symfony.com/blog/cve-2019-18888-prevent-argument-injection-in-a-mimetypeguesser
- otherhttps://symfony.com/blog/symfony-4-3-8-released
- otherhttps://symfony.com/cve-2019-18888
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- GHSA-xhh6-956q-4q69 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 44 min ago · osv 44 min ago · nvd 44 min ago · epss 44 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-xhh6-956q-4q69