CVE-2021-45116

django: Potential information disclosure in dictsort template filter

Published Jan 4, 2022 CVSS 3.1 · 7.5 High EPSS 2.0% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0089 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.
Github GHSA Github GHSA GHSA-8c5j-9r9f-c6w8 Information disclosure in Django
Ubuntu USN Ubuntu USN USN-5204-1 Django vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-212

    Improper Removal of Sensitive Information Before Storage or Transfer

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 22, 2025, 6:36 PM
Reserved
Dec 16, 2021, 12:00 AM
Status
Modified
Published
Jan 5, 2022, 12:15 AM
Modified
Jun 17, 2026, 4:13 AM
Severity
Moderate
Public date
Jan 4, 2022, 12:00 AM