GHSA-x38m-486c-2wr9 CVE-2015-5964 PYSEC-2015-23
Denial-of-service possibility in logout() view by filling session store
- Severity
- 0.0 / 10
- High · CVSS 4.0
- Exploit chance (EPSS)
- 4.97%
- Chance of exploitation in the next 30 days. Higher than 92.20% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- —
- Not classified
- Fix
1.7.10- Upgrade django to this version or later
Description
The (1) contrib.sessions.backends.base.SessionBase.flush and (2) cache_db.SessionStore.flush functions in Django 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions create empty sessions in certain circumstances, which allows remote attackers to cause a denial of service (session store consumption) via unspecified vectors.
Affected versions
PyPI
| Package | Vulnerable | Fixed in |
|---|---|---|
| django | >= 1.7, < 1.7.10 |
1.7.10 |
| django | >= 1.4, < 1.4.22 |
1.4.22 |
| django | >= 1.7, < 1.7.10>= 1.4, < 1.4.22 |
1.4.221.7.10 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
django PyPI → 1.7.10
- pip
pip install --upgrade "django>=1.7.10"- poetry
poetry add "django>=1.7.10"- uv
uv add "django>=1.7.10"
Severity breakdown
CVSS 4.0 0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality (vulnerable system)
- None
- Integrity (vulnerable system)
- None
- Availability (vulnerable system)
- High
- Confidentiality (subsequent systems)
- None
- Integrity (subsequent systems)
- None
- Availability (subsequent systems)
- None
- Exploit maturity
- Unreported
CVSS 3.1 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
References
Advisories
Write-ups
Packages
Other links
- github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7
- github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012
- github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-23.yaml
- web.archive.org/web/20150906124157/http://www.securityfocus.com/bid/76440
- web.archive.org/web/20150923161048/http://www.securitytracker.com/id/1033318
- web.archive.org/web/20200228051814/http://www.securityfocus.com/bid/76440
- djangoproject.com/weblog/2015/aug/18/security-releases
- lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html
- rhn.redhat.com/errata/RHSA-2015-1766.html
- rhn.redhat.com/errata/RHSA-2015-1767.html
- rhn.redhat.com/errata/RHSA-2015-1894.html
- debian.org/security/2015/dsa-3338
- oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- ubuntu.com/usn/USN-2720-1
- securityfocus.com/bid/76440
- securitytracker.com/id/1033318
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-q238-5cxm-5c9h Django GeoDjango vulnerable to denial of service through deeply nested geometry collections | Medium | Also affects django |
| GHSA-wvqv-fj8w-qmhm Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing | High | Also affects django |
| GHSA-8qcx-xf44-272x Django: DomainNameValidator permits newline characters that may enable HTTP header injection | Medium | Also affects django |
| GHSA-crhf-3pfg-w68w Django: GDALRaster may over-read heap memory when constructed from bytes | Medium | Also affects django |
| GHSA-3h9f-r86x-qvjx Django: cache middleware may expose private responses when unrelated request cookies are present | Medium | Also affects django |
| GHSA-8cjm-8mp7-r2xf Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling | Medium | Also affects django |
| GHSA-mm6v-q8q9-pgcf Django fails to prevent reuse of a partially-initialized connection after a failed `STARTTLS` handshake | Low | Also affects django |
| GHSA-h7pc-vwp9-298g Django: signed cookies are vulnerable to salt namespace collisions | Medium | Also affects django |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor