Live threats
VulnFox

All CVEs / Drupal

CVE-2017-6921Drupal

Medium 5.9 No auth needed

Priority
50
CVSS 3.0
5.9
EPSS
—
Auth required
No
Published
Jan 15, 2019
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

In Drupal 8 prior to 8.3.4; The file REST resource does not properly validate some fields when manipulating files. A site is only affected by this if the site has the RESTful Web Services (rest) module enabled, the file REST resource is enabled and allows PATCH requests, and an attacker can get or register a user account on the site with permissions to upload files and to modify the file resource.

Original NVD text.

What to do

  1. Apply the vendor's security update for Drupal.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist drupal/core ≥ 8.0 < 8.3.4 8.3.4 composer require "drupal/core:^8.3.4"
Packagist drupal/drupal ≥ 8.0 < 8.3.4 8.3.4 composer require "drupal/drupal:^8.3.4"

Per OSV / GitHub Advisories (GHSA-h377-287m-w2r9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
drupaldrupal≥ 8.0.0 < 8.3.4

Official sources

References

Links published by the sources. Open them with care.