DRUPAL-CORE-2021-008

At a glance

Published
Updated
CVE
CVE-2020-13675
Aliases
BIT-drupal-2020-13675, DRUPAL-CONTRIB-2021-029, GHSA-v8wr-r69p-mmwx

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. This vulnerability is mitigated by three factors: 1. The JSON:API or REST File upload modules must be enabled on the site. 2. An attacker must have access to a file upload via JSON:API or REST. 3. The site must employ a file validation module. This advisory is not covered by [Drupal Steward](/steward). Also see [GraphQL - Moderately critical - Access bypass - SA-CONTRIB-2021-029](https://www.drupal.org/sa-contrib-2021-029) which addresses a similar vulnerability for that module.

Affected packages

PackageVersions
Packagist · drupal/coreintroduced 8.0.0, fixed 8.9.19 ; introduced 9.1.0, fixed 9.1.13 ; introduced 9.2.0, fixed 9.2.6

References

Sources

SourceLicence
OSV.devSee osv.dev/data for this database's licence