Live threats

All CVEs / Djangoproject

CVE-2018-16984Djangoproject Django

Medium 4.9

Priority
30
CVSS 3.0
4.9
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
Yes
Published
Oct 2, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-522
Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 2.1 < 2.1.2 2.1.2 pip install "django>=2.1.2"
PyPI django ≥ 2.1 < 2.1.2 2.1.2 pip install "django>=2.1.2"

Per OSV / GitHub Advisories (GHSA-6mx3-3vqg-hpp2, PYSEC-2018-3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 2.1 < 2.1.2

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.