Advisory

GHSA-fr28-569j-53c4

Also known as: BIT-django-2020-24584, CVE-2020-24584, PYSEC-2020-34

Summary

Django Incorrect Default Permissions

Details

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). The intermediate-level directories of the filesystem cache had the system's standard umask rather than 0o077.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-03-18 20:30 UTC
Modified
2024-11-19 05:35 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2, fixed 2.2.16 (ecosystem)

Fixed versions

2.2.16

Fix

  • Fixed version 2.2.16
    pip install --upgrade django==2.2.16

django

PyPI · All systems

Affected

  • introduced 3.0, fixed 3.0.10 (ecosystem)

Fixed versions

3.0.10

Fix

  • Fixed version 3.0.10
    pip install --upgrade django==3.0.10

django

PyPI · All systems

Affected

  • introduced 3.1, fixed 3.1.1 (ecosystem)

Fixed versions

3.1.1

Fix

  • Fixed version 3.1.1
    pip install --upgrade django==3.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences