CVE-2020-13671
published high CVSS 3.1 · 8.8drupal: improper filename sanitization can lead to remote code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Drupal | — | Drupal Core9.0 versions prior to 9.0.8 · 8.9 versions prior to 8.9.9 · 8.8 versions prior to 8.8.11 · 7 versions prior to 7.74 | Affected | Not stated | drupal |
| Alpine Linux | v3.11 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Debian | stretch | drupal7 | Advisory build | 7.52-2+deb9u12 | DLA-2458-1 |
| Ubuntu | esm | drupal7 | Advisory build | 7.26-1ubuntu0.1+esm2 | USN-6981-2 |
| Alpine Linux | v3.12 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.13 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.14 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.15 | drupal7 | Fixed | 7.74-r0 | Package fix record |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.17 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.18 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.19 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Alpine Linux | v3.20 | drupal7 | Fixed | 7.74-r0 | Package fix record |
| Ubuntu | xenial | drupal7 | Advisory build | 7.44-1ubuntu1~16.04.0+esm2 | USN-6981-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Drupal | Drupal Core | 9.0 versions prior to 9.0.8 (affected)8.9 versions prior to 8.9.9 (affected)8.8 versions prior to 8.8.11 (affected)7 versions prior to 7.74 (affected) | drupal · cna |
Weaknesses
2- Remote code execution
- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
4- FEDORA-2020-d50d74d6f2 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437/
- FEDORA-2020-6f1079934c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671
- https://www.drupal.org/sa-core-2020-012
Provider assertions
3drupal · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e7984e059da3d14823c008ac2832daaa81c2f4a1b8448965ca1055e17f0c3fe8
- Ingested
- 23 Sep 2026, 07:48:35 UTC
- Source record
- Official CVE record