Vulnerabilities · 2017 · Drupal
CVE-2017-6921
Drupal vulnerability
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.
Affected products
Drupal. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Drupal runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-06-21/drupal-cor · Mitigation
- www.securityfocus.com/bid/99222 · Third Party Advisory
- www.securitytracker.com/id/1038781 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-6921
- github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6921.yaml
- github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6921.yaml
- www.drupal.org/SA-CORE-2017-003
- github.com/advisories/GHSA-h377-287m-w2r9
- nvd.nist.gov/vuln/detail/CVE-2017-6921
- cve.org/CVERecord?id=CVE-2017-6921
More vulnerabilities in Drupal products
CVE-2025-48915CVE-2025-48914CVE-2025-31693CVE-2025-31692CVE-2025-31675CVE-2025-31674CVE-2025-31673CVE-2025-13083All 432
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.