HighGHSA-w7qx-vwr9-2j3rCVE-2017-6377
Drupal editor module incorrectly checks access to inline private files
Published 13 May 2022 · Updated 23 Apr 2024
Affected packages
drupal/coreComposer
- Affected
- >=8.2.0 <8.2.7
- Fixed in
- 8.2.7
Update to the fixed version for your release line, for example:
composer require drupal/core:^8.2.7drupal/drupalComposer
- Affected
- >=8.2.0 <8.2.7
- Fixed in
- 8.2.7
Update to the fixed version for your release line, for example:
composer require drupal/drupal:^8.2.7Details
When adding a private file via the editor in Drupal 8.2.x before 8.2.7, the editor will not correctly check access for the file being attached, resulting in an access bypass.
Is GHSA-w7qx-vwr9-2j3r in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-6377
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6377.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6377.yaml
- Packagegithub.com/drupal/drupal
- Linkwww.drupal.org/SA-2017-001
- Linkwww.securityfocus.com/bid/96919
- Linkwww.securitytracker.com/id/1038058
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.