Django 2.1 before 2.1.15 and 2.2 before 2.2.8 allows unintended model editing. A Django model admin displaying inline related models, where the user has view-only permissions to a parent model but edit permissions to the inline model, would be presented with an editing UI, allowing POST requests, for updating the inline model. Directly editing the view-only parent model was not possible, but the parent model's save() method was called, triggering potential side effects, and causing pre and post-save signal handlers to be invoked. (To resolve this, the Django admin is adjusted to require edit permissions on the parent model in order for inline models to be editable.)
CVSS Details
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade python-django | Jul 30, 2024 | Dec 2, 2019 |
| Freebsd | — | Upgrade py37-django22Upgrade py36-django22Upgrade py37-django21Upgrade py36-django21Upgrade py35-django22Upgrade py35-django21Upgrade py38-django21Upgrade py38-django22 | Dec 3, 2019 | Dec 3, 2019 |
| Gentoo Linux | — | Upgrade dev-python/django. | May 1, 2020 | Dec 2, 2019 |
| Suse | — | Upgrade python3-django | Dec 9, 2019 | Dec 2, 2019 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub