CVE-2019-18888: Argument injection in a MimeTypeGuesser in Symfony

CVE-2019-18888 · Severity: low · CVSS 3.1 · Published 2019-12-02

Argument injection in a MimeTypeGuesser in Symfony

Technologies: symfony/http-foundation (Packagist), symfony/mime (Packagist), symfony/symfony (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2019-18888 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2019-18888 being exploited in the wild.
How severe is CVE-2019-18888?
Low severity, with a CVSS score of 3.1, published 2 December 2019.
Which products and versions are affected?
symfony/http-foundation (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.8.52; symfony/mime (Packagist) ECOSYSTEM:introduced=4.3.0,fixed=4.3.8; symfony/symfony (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.8.52.
Is there a fix for CVE-2019-18888?
Yes. symfony/http-foundation (Packagist): upgrade to 2.8.52 or later; symfony/mime (Packagist): upgrade to 4.3.8 or later; symfony/symfony (Packagist): upgrade to 2.8.52 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2019-18888?
Check whether you run symfony/http-foundation (Packagist), symfony/mime (Packagist) or symfony/symfony (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • symfony/http-foundation (Packagist): upgrade to 2.8.52 or later
    composer require symfony/http-foundation:^2.8.52
  • symfony/mime (Packagist): upgrade to 4.3.8 or later
    composer require symfony/mime:^4.3.8
  • symfony/symfony (Packagist): upgrade to 2.8.52 or later
    composer require symfony/symfony:^2.8.52

Affected products

  • symfony/http-foundation (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.8.52
  • symfony/mime (Packagist) ECOSYSTEM:introduced=4.3.0,fixed=4.3.8
  • symfony/symfony (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.8.52

Identifiers

  • CVE-2019-18888
  • GHSA-xhh6-956q-4q69

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.