Skip to content
OpenAdvisories
Medium CVE-2007-0405 EUVD-2022-4642GHSA-mwv2-398h-v489PYSEC-2026-629

Django Improper Access Control

Published Jan 23, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 0.95.1-1 —
Debian 13 python-django 0.95.1-1 —
Debian 12 python-django 0.95.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 0.95, < 1.0 1.0 GHSA-mwv2-398h-v489

References