# CVE-2021-45116: python3-django: An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and4.0 before 4.0.1

CVE-2021-45116 is fixed in 4 products on 1 platform, first by python-django 1:1.11.11-1ubuntu1.15, released January 4, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-45116
- Priority: High
- CVSS: 7.5 (Low)
- EPSS: 0.0198
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 4, 2022

## Description

An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and4.0 before 4.0.1. Due to leveraging the Django Template Language's variableresolution logic, the dictsort template filter was potentially vulnerableto information disclosure, or an unintended method call, if passed asuitably crafted key.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libdb rocky 8 | 0:5.3.28-42.el8_4 | [RLSA-2022:5498](https://patchblox.com/security/data/fix/linux/rlsa-2022-5498.md) | Jul 5, 2022 |
| Linux | python-django Debian 12.15 (bookworm) | 2:3.2.11-1 | [DEBIAN-CVE-2021-45116](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45116.md) | Jan 5, 2022 |
| Linux | python-django Debian 13.5 (trixie) | 2:3.2.11-1 | [DEBIAN-CVE-2021-45116](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45116.md) | Jan 5, 2022 |
| Linux | python-django Debian 14 | 2:3.2.11-1 | [DEBIAN-CVE-2021-45116](https://patchblox.com/security/data/fix/linux/debian-cve-2021-45116.md) | Jan 5, 2022 |
| Linux | python-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.15 | [python-django 1:1.11.11-1ubuntu1.15](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-1-1.11.11-1ubuntu1.15.md) | Jan 4, 2022 |
| Linux | python-django-common Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.15 | [python-django-common 1:1.11.11-1ubuntu1.15](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-django-common-1-1.11.11-1ubuntu1.15.md) | Jan 4, 2022 |
| Linux | python3-django Ubuntu 18.04.6 LTS (bionic) | 1:1.11.11-1ubuntu1.15 | [python3-django 1:1.11.11-1ubuntu1.15](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-django-1-1.11.11-1ubuntu1.15.md) | Jan 4, 2022 |
| Linux | python3-django Ubuntu 20.04 LTS (focal) | 2:2.2.12-1ubuntu0.9 | [python3-django 2:2.2.12-1ubuntu0.9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-django-2-2.2.12-1ubuntu0.9.md) | Jan 4, 2022 |
| Linux | python3-django Ubuntu 24.10 (oracular) | 2:3.2.11-1 | [python3-django 2:3.2.11-1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-python3-django-2-3.2.11-1.md) | Jan 16, 2026 |
| Linux | python3-django Ubuntu 25.04 (plucky) | 2:3.2.11-1 | [python3-django 2:3.2.11-1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-python3-django-2-3.2.11-1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
