Advisory

GHSA-wpjr-j57x-wxfw

Also known as: BIT-django-2020-13254, CVE-2020-13254, PYSEC-2020-31

Summary

Data leakage via cache key collision in Django

Details

An issue was discovered in Django version 2.2 before 2.2.13 and 3.0 before 3.0.7. In cases where a memcached backend does not perform key validation, passing malformed cache keys could result in a key collision, and potential data leakage.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-06-05 16:20 UTC
Modified
2024-11-19 05:38 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2, fixed 2.2.13 (ecosystem)

Fixed versions

2.2.13

Fix

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

django

PyPI · All systems

Affected

  • introduced 3.0, fixed 3.0.7 (ecosystem)

Fixed versions

3.0.7

Fix

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

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