Advisory

GHSA-xhh6-956q-4q69

Also known as: CVE-2019-18888

Summary

Argument injection in a MimeTypeGuesser in Symfony

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-12-02 18:08 UTC
Modified
2024-02-20 05:28 UTC

Affected packages and fixes

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.8.52 (ecosystem)

Fixed versions

2.8.52

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.4.35 (ecosystem)

Fixed versions

3.4.35

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.2.12 (ecosystem)

Fixed versions

4.2.12

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 4.3.0, fixed 4.3.8 (ecosystem)

Fixed versions

4.3.8

Fix

The export has no generic command for this ecosystem.

symfony/mime

Packagist · All systems

Affected

  • introduced 4.3.0, fixed 4.3.8 (ecosystem)

Fixed versions

4.3.8

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.8.52 (ecosystem)

Fixed versions

2.8.52

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.4.35 (ecosystem)

Fixed versions

3.4.35

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.2.12 (ecosystem)

Fixed versions

4.2.12

Fix

The export has no generic command for this ecosystem.

symfony/symfony

Packagist · All systems

Affected

  • introduced 4.3.0, fixed 4.3.8 (ecosystem)

Fixed versions

4.3.8

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences