Live threats

All CVEs / Sensiolabs

CVE-2019-18888Sensiolabs Symfony

High 7.5 No auth needed

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Symfony.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
sensiolabssymfony≥ 2.8.0 ≤ 2.8.50
sensiolabssymfony≥ 3.4.0 ≤ 3.4.34
sensiolabssymfony≥ 4.2.0 ≤ 4.2.11
sensiolabssymfony≥ 4.3.0 ≤ 4.3.7
fedoraprojectfedora30
fedoraprojectfedora31

Official sources

References

Links published by the sources. Open them with care.