Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2018-16984

CVE-2018-16984: Django allows unprivileged users to read the password hashes of arbitrary accounts

October 3, 2018 (updated September 18, 2024)

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.

References

  • github.com/advisories/GHSA-6mx3-3vqg-hpp2
  • github.com/django/django
  • github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-16984
  • security.netapp.com/advisory/ntap-20190502-0009
  • web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749
  • www.djangoproject.com/weblog/2018/oct/01/security-release

Code Behaviors & Features

Detect and mitigate CVE-2018-16984 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1 before 2.1.2

Fixed versions

  • 2.1.2

Solution

Upgrade to version 2.1.2 or above.

Impact 4.9 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-522: Insufficiently Protected Credentials

Source file

pypi/Django/CVE-2018-16984.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.