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

Advisory record · `GHSA-6mx3-3vqg-hpp2`

- **Identifiers:** `GHSA-6mx3-3vqg-hpp2` · `CVE-2018-16984` · `PYSEC-2018-3`
- **State:** Confirmed
- **Severity:** CVSS 4.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-522](https://cwe.mitre.org/data/definitions/522.html)
- **Tags:** [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md)
- **Published:** 3 Oct 2018
- **Updated:** 18 Sept 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 3 Oct 2018, 20:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `django` (PyPI): affected `>=2.1, <2.1.2`; fixed in `2.1.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.9 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.021, the 81st percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 3 Oct 2018. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-6mx3-3vqg-hpp2](https://github.com/advisories/GHSA-6mx3-3vqg-hpp2)
- [OSV: GHSA-6mx3-3vqg-hpp2](https://osv.dev/vulnerability/GHSA-6mx3-3vqg-hpp2)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-16984>
- <https://github.com/django/django/commit/bf39978a53f117ca02e9a0c78b76664a41a54745>
- <https://github.com/advisories/GHSA-6mx3-3vqg-hpp2>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2018-3.yaml>
- <https://security.netapp.com/advisory/ntap-20190502-0009>
- <https://web.archive.org/web/20200517123022/http://www.securitytracker.com/id/1041749>
- <https://www.djangoproject.com/weblog/2018/oct/01/security-release>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6mx3-3vqg-hpp2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6mx3-3vqg-hpp2/>. Everything for agents: <https://agentprime.io/llms.txt>.
