Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-13675 BIT-drupal-2020-13675DRUPAL-CONTRIB-2021-029DRUPAL-CORE-2021-008EUVD-2022-1196GHSA-v8wr-r69p-mmwx

Unrestricted Upload of File with Dangerous Type in Drupal core

Published Feb 11, 2022 · Updated Aug 4, 2024 · Assigned by drupal

Description

Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.

Affected products

VendorProductAffectedFixed
Drupal Core 9.2.x – < 9.2.6, 9.1.x – < 9.1.13, 8.9.x – < 8.9.19 9.2.6

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 8.0.0, < 8.9.19 · >= 9.1.0, < 9.1.13 · >= 9.2.0, < 9.2.6 8.9.19, 9.1.13, 9.2.6 DRUPAL-CORE-2021-008
Packagist drupal/core >= 8.0.0, < 8.9.19 8.9.19 GHSA-v8wr-r69p-mmwx
Packagist drupal/core >= 9.1.0, < 9.1.13 9.1.13 GHSA-v8wr-r69p-mmwx
Packagist drupal/core >= 9.2.0, < 9.2.6 9.2.6 GHSA-v8wr-r69p-mmwx
Packagist drupal/graphql >= 4.0.0, < 4.2.0 4.2.0 DRUPAL-CONTRIB-2021-029

References