CVE-2020-24583

Publication date 1 September 2020

Last updated 25 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

An issue was discovered in Django 2.2 before 2.2.16, 3.0 before 3.0.10, and 3.1 before 3.1.1 (when Python 3.7+ is used). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.

Read the notes from the security team

Status

Package Ubuntu Release Status
python-django 20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.2
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


mdeslaur

This issue is caused by a behavioural change in Python 3.7. While python3.7 is available for bionic, it doesn't replace python3.6, so bionic is not affected by this issue.

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-4479-1
    • Django vulnerabilities
    • 1 September 2020

Other references


Access our resources on patching vulnerabilities