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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.19% (56th percentile)
Expand this section
NVD
7.5 high
Expand this section
Red Hat
7.5 high

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 ID SNYK-PYTHON-DJANGO-1298666
  • published 2 Jun 2021
  • disclosed 2 Jun 2021
  • credit Unknown

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.