Improper Input Validation Affecting django package, versions [2.2, 2.2.24)[3.1,3.1.12)[3.2,3.2.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DJANGO-1298666
  • published2 Jun 2021
  • disclosed2 Jun 2021
  • creditUnknown

Introduced: 2 Jun 2021

CVE-2021-33571  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Django to version 2.2.24, 3.1.12, 3.2.4 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Improper Input Validation. URLValidator, validate_ipv4_address(), and validate_ipv46_address() did not prohibit leading zeros in octal literals. If you used such values you could suffer from indeterminate SSRF, RFI, and LFI attacks. It only affects Python < 3.9.5.

CVSS Scores

version 3.1