Uncontrolled Memory Consumption

Affecting django package, versions [1.11.0,1.11.19) || [2.0.0,2.0.11) || [2.1.0,2.1.6)

Do your applications use this vulnerable package? Test your applications

Overview

django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Thanks for checking it out.

Affected versions of this package are vulnerable to Uncontrolled Memory Consumption. If django.utils.numberformat.format() that is used by contrib.admin as well as the the floatformat, filesizeformat, and intcomma templates filters - received a Decimal with a large number of digits or a large exponent, it could lead to significant memory usage due to a call to {:f}'.format().

Remediation

Upgrade django to version 1.11.19, 2.0.11, 2.1.6 or higher.

References

CVSS Score

5.9
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    None
  • Availability
    High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/RL:O
Credit
Carlton Gibson
CVE
CVE-2019-6975
CWE
CWE-789
Snyk ID
SNYK-PYTHON-DJANGO-173679
Disclosed
11 Feb, 2019
Published
11 Feb, 2019