Vulnerability CVE-2021-28658: Information

Description

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

Severity: MEDIUM (5.3) Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Published: April 6, 2021
Modified: Nov. 7, 2023
Error type identifier: CWE-22

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
python3-module-djangosisyphus2.2.24-alt14.2.13-alt1ALT-PU-2021-2228-1278798Fixed
python3-module-djangop102.2.24-alt13.2.25-alt1ALT-PU-2021-2228-1278798Fixed
python3-module-djangop92.2.25-alt12.2.25-alt1ALT-PU-2021-3619-1292358Fixed
python3-module-djangop9_e2k2.2.25-alt12.2.25-alt1ALT-PU-2022-3862-1-Fixed
python3-module-djangoc10f12.2.24-alt13.2.25-alt1ALT-PU-2021-2228-1278798Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      3.1
      End excliding
      3.1.8

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      3.0
      End excliding
      3.0.14

      cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
      Start including
      2.2
      End excliding
      2.2.20

      Configuration 2

      cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

      Configuration 3

      cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*