Skip to content
OpenAdvisories
High · 7.5 CVE-2019-18888 EUVD-2019-0807GHSA-xhh6-956q-4q69

Argument injection in a MimeTypeGuesser in Symfony

Published Nov 21, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

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 in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 4.3.8+dfsg-1 —
Debian 13 symfony 4.3.8+dfsg-1 —
Debian 12 symfony 4.3.8+dfsg-1 —
Debian 10 symfony 3.4.22+dfsg-2+deb10u1 DSA-4573-1
Debian 9 symfony 2.8.7+dfsg-1.3+deb9u3 DSA-4573-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 symfony 2.3.21+dfsg-4+deb8u6 DLA-1999-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS symfony No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS symfony No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/http-foundation >= 2.0.0, < 2.8.52 2.8.52 GHSA-xhh6-956q-4q69
Packagist symfony/http-foundation >= 3.0.0, < 3.4.35 3.4.35 GHSA-xhh6-956q-4q69
Packagist symfony/http-foundation >= 4.0.0, < 4.2.12 4.2.12 GHSA-xhh6-956q-4q69
Packagist symfony/http-foundation >= 4.3.0, < 4.3.8 4.3.8 GHSA-xhh6-956q-4q69
Packagist symfony/mime >= 4.3.0, < 4.3.8 4.3.8 GHSA-xhh6-956q-4q69
Packagist symfony/symfony >= 2.0.0, < 2.8.52 2.8.52 GHSA-xhh6-956q-4q69
Packagist symfony/symfony >= 3.0.0, < 3.4.35 3.4.35 GHSA-xhh6-956q-4q69
Packagist symfony/symfony >= 4.0.0, < 4.2.12 4.2.12 GHSA-xhh6-956q-4q69
Packagist symfony/symfony >= 4.3.0, < 4.3.8 4.3.8 GHSA-xhh6-956q-4q69

Advisories 2

References