DRUPAL-CONTRIB-2021-030

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/user_hash/DRUPAL-CONTRIB-2021-030.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2021-030
Published
2021-09-22T16:43:17Z
Modified
2026-09-10T03:46:15Z
Summary
[none]
Details

This module enables you to create an individual hash for each user. These hashes can be used for authentication instead of the user's password, e.g. for views exporters.

The module doesn't sufficiently invalidate page output when the page_cache module is used.

This vulnerability is mitigated by the fact that an attacker must have a user hash that grants access to specific content and the attack must be timed to the reset of the page cache.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/user_hash

Package

Name
drupal/user_hash
Purl
pkg:composer/drupal/user_hash?repository_url=https:%2F%2Fpackages.drupal.org%2F8

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.1
Database specific
Show details
{
    "constraint": "<2.0.1"
}

Database specific

affected_versions
"<2.0.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/user_hash/DRUPAL-CONTRIB-2021-030.json"