For your digest
django: Path Traversal in Django
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
django (PyPI)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- django (PyPI): from 2.2, before 2.2.21
- django (PyPI): from 3.0, before 3.1.9
- django (PyPI): from 3.2, before 3.2.1
- django (PyPI): from 2.2, before 2.2.21; from 3.1, before 3.1.9; from 3.2, before 3.2.1
The fix
django (PyPI) fixed in 2.2.21
pippython -m pip install django==2.2.21uvuv add django==2.2.21poetrypoetry add django@2.2.21Check what is installedpython -m pip show djangoPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency django to 2.2.21 or the nearest later release, to fix CVE-2021-31542. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.django (PyPI) fixed in 3.1.9
pippython -m pip install django==3.1.9uvuv add django==3.1.9poetrypoetry add django@3.1.9Check what is installedpython -m pip show djangoPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency django to 3.1.9 or the nearest later release, to fix CVE-2021-31542. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.django (PyPI) fixed in 3.2.1
pippython -m pip install django==3.2.1uvuv add django==3.2.1poetrypoetry add django@3.2.1Check what is installedpython -m pip show djangoPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency django to 3.2.1 or the nearest later release, to fix CVE-2021-31542. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".