All vulnerabilities

Servers and applications

CVE-2017-6921

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.

Severity
Medium 5.9
Published
15 Jan 2019
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.3.4
Exploit chance
1.8% in the next 30 daysHigher than 79% of CVEs. EPSS by FIRST, 10 Nov 2026
Weakness
Improper input validation (CWE-20)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Sources
NVD

Affected software

SoftwareAffected versions
DrupalServers and applications · cpe:a:drupal:drupal
  • From 8.0.0 before 8.3.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-6921
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-6921