GHSA-68jc-v27h-vhmw

Drupal core Unrestricted Upload of File with Dangerous Type

At a glance

Published
Updated
CVE
CVE-2020-13671
Aliases
BIT-drupal-2020-13671, DRUPAL-CORE-2020-012
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:H

Description

Drupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.

Affected packages

PackageVersions
Packagist · drupal/coreintroduced 9.0.0, fixed 9.0.8
Packagist · drupal/coreintroduced 8.9.0, fixed 8.9.9
Packagist · drupal/coreintroduced 8.0.0, fixed 8.8.11
Packagist · drupal/coreintroduced 7.0.0, fixed 7.74
Packagist · drupal/drupalintroduced 7.0.0, fixed 7.74
Packagist · drupal/drupalintroduced 8.0.0, fixed 8.8.11
Packagist · drupal/drupalintroduced 8.9.0, fixed 8.9.9
Packagist · drupal/drupalintroduced 9.0.0, fixed 9.0.8

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database