MediumGHSA-58f3-cx8p-h8jgCVE-2017-6922

Drupal core access bypass vulnerability

Published 13 May 2022 · Updated 23 Apr 2024

Affected packages

drupal/coreComposer
Affected
>=7.0 <7.56
Fixed in
7.56
Update to the fixed version for your release line, for example:composer require drupal/core:^7.56
drupal/coreComposer
Affected
>=8.0 <8.3.4
Fixed in
8.3.4
Update to the fixed version for your release line, for example:composer require drupal/core:^8.3.4
Affected
>=8.0 <8.3.4
Fixed in
8.3.4
Update to the fixed version for your release line, for example:composer require drupal/drupal:^8.3.4
Affected
>=7.0 <7.56
Fixed in
7.56
Update to the fixed version for your release line, for example:composer require drupal/drupal:^7.56

Details

In Drupal core 8.x prior to 8.3.4 and Drupal core 7.x prior to 7.56; Private files that have been uploaded by an anonymous user but not permanently attached to content on the site should only be visible to the anonymous user that uploaded them, rather than all anonymous users. Drupal core did not previously provide this protection, allowing an access bypass vulnerability to occur. This issue is mitigated by the fact that in order to be affected, the site must allow anonymous users to upload files into a private file system.

Is GHSA-58f3-cx8p-h8jg 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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.