cve.bz

CVE-2020-13254 Improper Certificate Validation

5.9 mediumEPSS 6.1%Fix available

Medium (5.9). EPSS 6.1% estimated probability of exploitation activity in the next 30 days. Fixed in django 2.2.13, 3.0.7.

On this page
An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. In cases where a memcached backend does not perform key validation, passing malformed cache keys could result in a key collision, and potential data leakage.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
6.1% (unchanged from 6.1% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13254 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13254?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13254?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13254 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
djangoproject:djangofrom 2.2 before 2.2.13
djangoproject:djangofrom 3.0 before 3.0.7
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
canonical:ubuntu_linux20.04
fedoraproject:fedora32
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
oracle:zfs_storage_appliance_kit8.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wpjr-j57x-wxfwPyPIdjango>=2.2 <2.2.132.2.13
GHSA-wpjr-j57x-wxfwPyPIdjango>=3.0 <3.0.73.0.7
PYSEC-2020-31PyPIdjango>=2.2 <2.2.13
>=3.0 <3.0.7
2.2.13, 3.0.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8python-django1.7.11-1+deb8u9DLA-2233-1
Debian9python-django1:1.10.7-2+deb9u9DSA-4705-1
Debian10python-django1:1.11.29-1~deb10u1DSA-4705-1
Debian12, 13, 14python-django2:2.2.13-1DEBIAN-CVE-2020-13254
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.13UBUNTU-CVE-2020-13254 USN-4381-1
Ubuntu18.04:LTSpython-django1:1.11.11-1ubuntu1.9UBUNTU-CVE-2020-13254 USN-4381-1
Ubuntu20.04:LTSpython-django2:2.2.12-1ubuntu0.1UBUNTU-CVE-2020-13254 USN-4381-1
UbuntuPro:14.04:LTSpython-django1.6.11-0ubuntu1.3+esm1UBUNTU-CVE-2020-13254 USN-4381-2
Red Hatopenstack:13::el7python-django, python2-django, python-django-bash-completion0:1.11.27-3.el7ostRHSA-2021:0933
Red Hatopenstack:16.1::el8python-django20, python3-django20, python-django20-bash-completion0:2.0.13-12.el8ostRHSA-2021:0915
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20200527-1.26.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8openstack-dashboard-theme-HPE8+git.1523473653.6599ec8-3.3.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.30.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ansible11.9.6-7.3.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1589740980.6c3bcdc-3.73.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cluster8.0+git.1585685203.3e71e49-3.36.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-freezer8.0+git.1586539529.b7d295f-3.21.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-input-model8.0+git.1589740934.0e0ad61-3.39.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-logging8.0+git.1591194866.b7375d0-3.24.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-mq8.0+git.1589715269.62ad6df-3.22.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-neutron8.0+git.1590756744.ba84abc-3.42.1SUSE-SU-2020:1901-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-octavia8.0+git.1590100427.cf4cc8f-3.29.1SUSE-SU-2020:1901-1
150 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpython-Django3.2.7-2.3openSUSE-SU-2024:11205-1
openSUSETumbleweedpython-Django4.2.11-2.1openSUSE-SU-2024:13887-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.13, v3.14, v3.15 and 9 morepy3-django3.0.7-r0ALPINE-CVE-2020-13254

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Satellite 6 ships affected python-django, however, it does not use memcached implementation in product code hence not vulnerable to this flaw.

Red Hat Update Infrastructure 3 ships an affected version of python-django, however it does not use memcached as a cache backend and it is not vulnerable to this flaw.

Red Hat Ceph Storage(RHCS) ships an affected version of python-django used with calamari and graphite which are no longer supported, hence the django package will not be fixed for RHCS.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 13.0 (Queens)python-django-0:1.11.27-3.el7ostFixed 2021-03-18RHSA-2021:0933
Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.6 EUSpython-django-0:1.11.27-3.el7ostFixed 2021-03-18RHSA-2021:0933
Red Hat OpenStack Platform 16.1python-django20-0:2.0.13-12.el8ostFixed 2021-03-17RHSA-2021:0915
Red Hat Ceph Storage 2python-djangoWill not fix
Red Hat Ceph Storage 3python-djangoWill not fix
Red Hat OpenStack Platform 10 (Newton)python-djangoOut of support scope
Red Hat OpenStack Platform 15 (Stein)python-djangoOut of support scope
Red Hat OpenStack Platform 15 (Stein)python-django20Out of support scope
Red Hat Satellite 6python-djangoWill not fix
Red Hat Storage 3python-djangoWill not fix
Red Hat Update Infrastructure 3 for Cloud Providerspython-djangoFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13254.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON