7.5

CVE-2021-31542: debian debian_linux

Modified
AliasesGHSA-rxjp-mfm9-w4wrBIT-django-2021-31542PYSEC-2021-7
Published 05-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-31542 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 5.33% chance of exploitation in the next 30 days, higher than 92.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 5% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
5.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 10

Timeline

  1. 05-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

5.33%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

No change 0.00 pp

From 5.33% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • python-django< 1:1.10.7-2+deb9u13 | < 2:2.2.21-1
  • debian_linuxEOL9.0
Djangoproject1 product
  • django≥ 2.2, < 2.2.21 | ≥ 3.1, < 3.1.9 | ≥ 3.2, < 3.2.1
Fedoraproject1 product
PyPI1 product
  • django≥ 2.2, < 2.2.21 | ≥ 3.0, < 3.1.9 | ≥ 3.2, < 3.2.1
Ubuntu1 product
  • python-django< 1:1.11.11-1ubuntu1.13 | < 2:2.2.12-1ubuntu0.6 | < 1.6.11-0ubuntu1.3+esm3 | < 1.8.7-1ubuntu5.15+esm1

5 vendors · 6 products

References

29 links
Show all 29 references