First published: Wed Mar 15 2017(Updated: )
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
Credit: mlhess@drupal.org mlhess@drupal.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/drupal/core | >=8.0<8.1.0>=8.1.0<8.2.0>=8.2.0<8.2.7 | |
composer/drupal/drupal | >=8.0<8.1.0>=8.1.0<8.2.0>=8.2.0<8.2.7 | |
composer/drupal/drupal | >=8.0<8.2.7 | 8.2.7 |
composer/drupal/core | >=8.0<8.2.7 | 8.2.7 |
Drupal | =8.0.0 | |
Drupal | =8.0.0-alpha10 | |
Drupal | =8.0.0-alpha11 | |
Drupal | =8.0.0-alpha12 | |
Drupal | =8.0.0-alpha13 | |
Drupal | =8.0.0-alpha14 | |
Drupal | =8.0.0-alpha15 | |
Drupal | =8.0.0-alpha2 | |
Drupal | =8.0.0-alpha3 | |
Drupal | =8.0.0-alpha4 | |
Drupal | =8.0.0-alpha5 | |
Drupal | =8.0.0-alpha6 | |
Drupal | =8.0.0-alpha7 | |
Drupal | =8.0.0-alpha8 | |
Drupal | =8.0.0-alpha9 | |
Drupal | =8.0.0-beta1 | |
Drupal | =8.0.0-beta10 | |
Drupal | =8.0.0-beta11 | |
Drupal | =8.0.0-beta12 | |
Drupal | =8.0.0-beta13 | |
Drupal | =8.0.0-beta14 | |
Drupal | =8.0.0-beta15 | |
Drupal | =8.0.0-beta16 | |
Drupal | =8.0.0-beta2 | |
Drupal | =8.0.0-beta3 | |
Drupal | =8.0.0-beta4 | |
Drupal | =8.0.0-beta6 | |
Drupal | =8.0.0-beta7 | |
Drupal | =8.0.0-beta9 | |
Drupal | =8.0.0-rc1 | |
Drupal | =8.0.0-rc2 | |
Drupal | =8.0.0-rc3 | |
Drupal | =8.0.0-rc4 | |
Drupal | =8.0.1 | |
Drupal | =8.0.2 | |
Drupal | =8.0.3 | |
Drupal | =8.0.4 | |
Drupal | =8.0.5 | |
Drupal | =8.0.6 | |
Drupal | =8.1.0 | |
Drupal | =8.1.0-beta1 | |
Drupal | =8.1.0-beta2 | |
Drupal | =8.1.0-rc1 | |
Drupal | =8.1.1 | |
Drupal | =8.1.2 | |
Drupal | =8.1.3 | |
Drupal | =8.1.4 | |
Drupal | =8.1.5 | |
Drupal | =8.1.6 | |
Drupal | =8.1.7 | |
Drupal | =8.1.8 | |
Drupal | =8.1.9 | |
Drupal | =8.1.10 | |
Drupal | =8.2.0 | |
Drupal | =8.2.0-beta1 | |
Drupal | =8.2.0-beta2 | |
Drupal | =8.2.0-beta3 | |
Drupal | =8.2.0-rc1 | |
Drupal | =8.2.0-rc2 | |
Drupal | =8.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-6381 has a critical severity rating due to its potential for remote code execution.
To fix CVE-2017-6381, upgrade to Drupal core version 8.2.7 or later.
CVE-2017-6381 affects Drupal versions 8.0.x and 8.1.x up to 8.1.10, as well as versions from 8.2.0 up to 8.2.6.
If exploited, CVE-2017-6381 allows attackers to execute arbitrary PHP code on the server, potentially compromising the entire site.
Yes, CVE-2017-6381 is partially mitigated by default .htaccess restrictions that protect against PHP execution.