Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal/core-recommended
  4. ›
  5. CVE-2020-13671

CVE-2020-13671: Unrestricted Upload of File with Dangerous Type

November 20, 2020 (updated December 15, 2020)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-13671
  • www.drupal.org/sa-core-2020-012

Code Behaviors & Features

Detect and mitigate CVE-2020-13671 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0 before 7.74, all versions starting from 8.8 before 8.8.11, all versions starting from 8.9 before 8.9.9, all versions starting from 9.0 before 9.0.8

Fixed versions

  • 8.0.0
  • 8.8.11
  • 8.9.9
  • 9.0.8

Solution

Upgrade to versions 8.0.0, 8.8.11, 8.9.9, 9.0.8 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/drupal/core-recommended/CVE-2020-13671.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:21 +0000.