Skip to content

Information disclosure in Django

High severity GitHub Reviewed Published Jan 12, 2022 to the GitHub Advisory Database • Updated Sep 3, 2023

Package

pip Django (pip)

Affected versions

>= 2.2.0, < 2.2.26
>= 3.2.0, < 3.2.11
>= 4.0.0, < 4.0.1

Patched versions

2.2.26
3.2.11
4.0.1

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.

References

Published by the National Vulnerability Database Jan 5, 2022
Reviewed Jan 12, 2022
Published to the GitHub Advisory Database Jan 12, 2022
Last updated Sep 3, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2021-45116

GHSA ID

GHSA-8c5j-9r9f-c6w8

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.