Skip to content
OpenAdvisories
Medium · 4.9 CVE-2018-16984 EUVD-2018-0038GHSA-6mx3-3vqg-hpp2PYSEC-2018-3

Django allows unprivileged users to read the password hashes of arbitrary accounts

Published Oct 2, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts. The read-only password widget used by the Django Admin to display an obfuscated password hash was bypassed if a user has only the "view" permission (new in Django 2.1), resulting in display of the entire password hash to those users. This may result in a vulnerability for sites with legacy user accounts using insecure hashes.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 3.2.7-2.3 openSUSE-SU-2026:11248-1, openSUSE-SU-2024:13887-1, openSUSE-SU-2024:11205-1
openSUSE Tumbleweed python-Django4 4.2.14-1.1 openSUSE-SU-2026:11235-1, openSUSE-SU-2024:14208-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 2.1, < 2.1.2 2.1.2 GHSA-6mx3-3vqg-hpp2

Advisories 7

References