p PatchFirst

CVE-2021-32052

CVE-2021-32052

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.

CVSS 6.1 · Medium · EPSS 3.2% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • python-django Debian:12

    Affected ranges
    • ECOSYSTEM: < 2:2.2.22-1

    Update to 2:2.2.22-1

  • python-django Debian:13

    Affected ranges
    • ECOSYSTEM: < 2:2.2.22-1

    Update to 2:2.2.22-1

  • python-django Debian:14

    Affected ranges
    • ECOSYSTEM: < 2:2.2.22-1

    Update to 2:2.2.22-1

  • django PyPI

    Versions
    • 2.2
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.2
    • 2.2.20
    • 2.2.21
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9
    Affected ranges
    • ECOSYSTEM: ≥ 2.2, < 2.2.22

    Update to 2.2.22

  • django PyPI

    Versions
    • 3.1
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.6
    • 3.1.7
    • 3.1.8
    • 3.1.9
    Affected ranges
    • ECOSYSTEM: ≥ 3.1, < 3.1.10

    Update to 3.1.10

  • django PyPI

    Versions
    • 3.2
    • 3.2.1
    Affected ranges
    • ECOSYSTEM: ≥ 3.2, < 3.2.2

    Update to 3.2.2

  • django PyPI

    Versions
    • 2.2
    • 2.2.1
    • 2.2.2
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.20
    • 2.2.21
    • 3.1
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.1.6
    • 3.1.7
    • 3.1.8
    • 3.1.9
    • 3.2
    • 3.2.1
    Affected ranges
    • ECOSYSTEM: ≥ 2.2, < 2.2.22 ∪ ≥ 3.1, < 3.1.10 ∪ ≥ 3.2, < 3.2.2

    Update to 2.2.22; Update to 3.1.10; Update to 3.2.2

  • python-django Ubuntu:18.04:LTS

    Versions
    • 1:1.11.4-1ubuntu1
    • 1:1.11.6-1ubuntu1
    • 1:1.11.9-1ubuntu1
    • 1:1.11.11-1ubuntu1
    • 1:1.11.11-1ubuntu1.1
    • 1:1.11.11-1ubuntu1.2
    • 1:1.11.11-1ubuntu1.3
    • 1:1.11.11-1ubuntu1.4
    • 1:1.11.11-1ubuntu1.5
    • 1:1.11.11-1ubuntu1.6
    • 1:1.11.11-1ubuntu1.7
    • 1:1.11.11-1ubuntu1.8
    • 1:1.11.11-1ubuntu1.9
    • 1:1.11.11-1ubuntu1.10
    • 1:1.11.11-1ubuntu1.11
    • 1:1.11.11-1ubuntu1.12
    • 1:1.11.11-1ubuntu1.13
    • 1:1.11.11-1ubuntu1.14
    • 1:1.11.11-1ubuntu1.15
    • 1:1.11.11-1ubuntu1.16
    Affected ranges
    • ECOSYSTEM: < 1:1.11.11-1ubuntu1.17

    Update to 1:1.11.11-1ubuntu1.17

  • python-django Ubuntu:20.04:LTS

    Versions
    • 1:1.11.22-1ubuntu1
    • 2:2.2.6-1ubuntu1
    • 2:2.2.9-2ubuntu1
    • 2:2.2.10-1
    • 2:2.2.10-1ubuntu1
    • 2:2.2.11-1
    • 2:2.2.12-1
    • 2:2.2.12-1ubuntu0.1
    • 2:2.2.12-1ubuntu0.2
    • 2:2.2.12-1ubuntu0.3
    • 2:2.2.12-1ubuntu0.4
    • 2:2.2.12-1ubuntu0.5
    • 2:2.2.12-1ubuntu0.6
    Affected ranges
    • ECOSYSTEM: < 2:2.2.12-1ubuntu0.7

    Update to 2:2.2.12-1ubuntu0.7

Original sources

Check your server →