Back
CVE-2017-6921
File REST resource does not properly validate
Medium5.9EPSS 1.8%
- Published
- Updated
- Reserved
- Assigned by
- drupal
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.8% · top 21% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
Affected products
- affected Drupal 8 – < 8.3.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistdrupal/coreGHSA-h377-287m-w2r9 (opens in a new tab)
- Packagistdrupal/drupalGHSA-h377-287m-w2r9 (opens in a new tab)
References (3)
- 99222 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-06-21/drupal-core-multiple (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1038781 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h377-287m-w2r9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-6921)Record last updated .