Advisory

GHSA-h377-287m-w2r9

Also known as: CVE-2017-6921

Summary

Drupal file REST resource does not properly validate

Details

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 Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:36 UTC
Modified
2024-04-23 17:56 UTC

Affected packages and fixes

drupal/core

Packagist · All systems

Affected

  • introduced 8.0, fixed 8.3.4 (ecosystem)

Fixed versions

8.3.4

Fix

The export has no generic command for this ecosystem.

drupal/drupal

Packagist · All systems

Affected

  • introduced 8.0, fixed 8.3.4 (ecosystem)

Fixed versions

8.3.4

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