---
title: "CVE-2007-0405\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2007-0405?format=md
keywords: index, follow
---

# CVE-2007-0405

Publication date 23 January 2007

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

The LazyUser class in the AuthenticationMiddleware for Django 0.95 does not
properly cache the user name across requests, which allows remote
authenticated users to gain the privileges of a different user.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| python-django | 7.10 gutsy | Not affected |
| 7.04 feisty | Not affected |
| 6.10 edgy | Not in release |
| 6.06 LTS dapper | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0405)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2007-0405)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2007-0405)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2007-0405)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2007-0405>
