Live threats

All CVEs / Drupal

CVE-2017-6381Drupal

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
3.9%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Mar 16, 2017
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-829
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A 3rd party development library including with Drupal 8 development dependencies is vulnerable to remote code execution. This is mitigated by the default .htaccess protection against PHP execution, and the fact that Composer development dependencies aren't normal installed. You might be vulnerable to this if you are running a version of Drupal before 8.2.2. To be sure you aren't vulnerable, you can remove the <siteroot>/vendor/phpunit directory from your production deployments

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.2.7 8.2.7 composer require "drupal/core:^8.2.7"
Packagist drupal/drupal ≥ 8.0 < 8.2.7 8.2.7 composer require "drupal/drupal:^8.2.7"

Per OSV / GitHub Advisories (GHSA-rhx9-3qf7-r3j7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.0
drupaldrupal8.0.1
drupaldrupal8.0.2
drupaldrupal8.0.3
drupaldrupal8.0.4
drupaldrupal8.0.5
drupaldrupal8.0.6
drupaldrupal8.1.0
drupaldrupal8.1.0
drupaldrupal8.1.0
drupaldrupal8.1.0
drupaldrupal8.1.1
drupaldrupal8.1.2
drupaldrupal8.1.3
drupaldrupal8.1.4
drupaldrupal8.1.5
drupaldrupal8.1.6
drupaldrupal8.1.7
drupaldrupal8.1.8
drupaldrupal8.1.9
drupaldrupal8.1.10
drupaldrupal8.2.0
drupaldrupal8.2.0
drupaldrupal8.2.0
drupaldrupal8.2.0
drupaldrupal8.2.0
drupaldrupal8.2.0
drupaldrupal8.2.1

Official sources

References

Links published by the sources. Open them with care.