CVE-2018-16984
MEDIUM 4.9CVSS 3.0Django allows unprivileged users to read the password hashes of arbitrary accounts
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.
- Published
- 2 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-522
- Also known as
- GHSA-6mx3-3vqg-hpp2PYSEC-2018-3
- Sources
- NVDJSONOSV GHSA-6mx3-3vqg-hpp2JSONOSV PYSEC-2018-3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 4.9 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 4.9 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.1, < 2.1.2 | 2.1.2 |
| OSV | PyPI | django | >= 2.1, < 2.1.2 | 2.1.2 |
References
- http://www.securitytracker.com/id/1041749 · Third Party Advisory, VDB Entry, WEB
- https://security.netapp.com/advisory/ntap-20190502-0009/ · Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2018/oct/01/security-release/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2018-16984 · ADVISORY
- https://github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745 · WEB
- https://github.com/advisories/GHSA-6mx3-3vqg-hpp2 · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml · WEB
- https://web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 2 Oct 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Oct 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Oct 2018)