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
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.
- Published
- Aug 24, 2015
- Updated
- Jun 16, 2026
- EPSS
- 5.0% · 92th percentile
- CWE
- CWE-399
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 5.0%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| djangoproject | django | cpe:2.3:a:djangoproject:django |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| oracle | solaris | cpe:2.3:o:oracle:solaris |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.04
- djangoproject django1.4
- djangoproject django1.4.1
- djangoproject django1.4.10
- djangoproject django1.4.11
- djangoproject django1.4.12
- djangoproject django1.4.13
- djangoproject django1.4.14
- djangoproject django1.4.17
- djangoproject django1.4.19
- djangoproject django1.4.2
- djangoproject django1.4.20
- djangoproject django1.4.21
- djangoproject django1.4.4
- djangoproject django1.4.5
- djangoproject django1.4.6
- djangoproject django1.4.7
- djangoproject django1.4.8
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | python-django | before 1.7.10-1 | 1.7.10-1 |
| Debian:6.0 | python-django | before 1.2.3-3+squeeze14 | 1.2.3-3+squeeze14 |
| Debian:7 | python-django | before 1.4.5-1+deb7u13 | 1.4.5-1+deb7u13 |
| Debian:8 | python-django | before 1.7.7-1+deb8u2 | 1.7.7-1+deb8u2 |
| PyPI | django | from 1.4 · before 1.4.22 | 1.4.22 |
| PyPI | django | from 1.7 · before 1.7.10 | 1.7.10 |
| Red Hat:openstack:5::el6 | python-django | before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
| Red Hat:openstack:5::el6 | python-django-bash-completion | before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
| Red Hat:openstack:5::el6 | python-django-doc | before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
| Red Hat:openstack:5::el7 | python-django | before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
| Red Hat:openstack:5::el7 | python-django-bash-completion | before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
| Red Hat:openstack:5::el7 | python-django-doc | before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
Same product
djangoproject: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-34265An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6.61This week
- CVE-2020-7471Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter 59Plan
- CVE-2019-19844Django before 1.11.27, 2.x before 2.2.9, and 3.x before 3.0.1 allows account takeover.55Plan
- CVE-2019-14234An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4.53Plan
- CVE-2021-35042Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is untrusted input from a client of a w52Plan
- CVE-2023-24580An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7.49Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:python-django | 1.7.10-1 · Debian:12 | Package registry (OSV) |
| PyPI:django | 1.4.22 | Package registry (OSV) |
| PyPI:django | 1.7.10 | Package registry (OSV) |
| red hat:python-django | 0:1.6.11-3.el6ost · Red Hat:openstack:5::el6 | Package registry (OSV) |
| red hat:python-django-bash-completion | 0:1.6.11-3.el6ost · Red Hat:openstack:5::el6 | Package registry (OSV) |
| red hat:python-django-doc | 0:1.6.11-3.el6ost · Red Hat:openstack:5::el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- 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
- www.debian.org/security/2015/dsa-3338
- www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- www.securityfocus.com/bid/76440
- www.securitytracker.com/id/1033318
- www.ubuntu.com/usn/USN-2720-1
- www.djangoproject.com/weblog/2015/aug/18/security-releases/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.