CVE-2021-45116

Publication date 4 January 2022

Last updated 18 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.

Status

Package Ubuntu Release Status
python-django 26.10 stonking
Fixed in 2:3.2.11-1
26.04 LTS resolute
Fixed in 2:3.2.11-1
25.10 questing
Fixed in 2:3.2.11-1
25.04 plucky
Fixed in 2:3.2.11-1
24.10 oracular
Fixed in 2:3.2.11-1
24.04 LTS noble
Fixed in 2:3.2.11-1
23.10 mantic
Fixed in 2:3.2.11-1
23.04 lunar
Fixed in 2:3.2.11-1
22.10 kinetic
Fixed in 2:3.2.11-1
22.04 LTS jammy
Fixed in 2:3.2.11-1
21.10 impish
Fixed in 2:2.2.24-1ubuntu1.2
21.04 hirsute
Fixed in 2:2.2.20-1ubuntu0.4
20.04 LTS focal
Fixed in 2:2.2.12-1ubuntu0.9
18.04 LTS bionic
Fixed in 1:1.11.11-1ubuntu1.15
16.04 LTS xenial
Vulnerable
14.04 LTS trusty
Vulnerable

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-5204-1
    • Django vulnerabilities
    • 5 January 2022

Other references


Access our resources on patching vulnerabilities