Advisory

GHSA-v8wr-r69p-mmwx

Also known as: BIT-drupal-2020-13675, CVE-2020-13675, DRUPAL-CONTRIB-2021-029, DRUPAL-CORE-2021-008

Summary

Unrestricted Upload of File with Dangerous Type in Drupal core

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-12 00:00 UTC
Modified
2025-12-10 23:41 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0.0, fixed 8.9.19 (ecosystem)

Fixed versions

8.9.19

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 9.1.0, fixed 9.1.13 (ecosystem)

Fixed versions

9.1.13

Fix

The export has no generic command for this ecosystem.

drupal/core

Packagist · All systems

Affected

  • introduced 9.2.0, fixed 9.2.6 (ecosystem)

Fixed versions

9.2.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences