# Django Incorrect Default Permissions

Advisory record · `GHSA-m6gj-h9gm-gw44`

- **Identifiers:** `GHSA-m6gj-h9gm-gw44` · `BIT-django-2020-24583` · `CVE-2020-24583` · `PYSEC-2020-33`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-276](https://cwe.mitre.org/data/definitions/276.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 18 Mar 2021
- **Updated:** 18 Sept 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 18 Mar 2021, 20:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `django` (PyPI): affected `>=2.2a1, <2.2.16 || >=3.0a1, <3.0.10 || >=3.1a1, <3.1.1`; fixed in `2.2.16`, `3.0.10`, `3.1.1`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.040, the 90th percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 18 Mar 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-m6gj-h9gm-gw44](https://github.com/advisories/GHSA-m6gj-h9gm-gw44)
- [OSV: GHSA-m6gj-h9gm-gw44](https://osv.dev/vulnerability/GHSA-m6gj-h9gm-gw44)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-24583>
- <https://github.com/django/django/commit/8d7271578d7b153435b40fe40236ebec43cbf1b9>
- <https://docs.djangoproject.com/en/dev/releases/security>
- <https://github.com/advisories/GHSA-m6gj-h9gm-gw44>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-33.yaml>
- <https://groups.google.com/forum/#!topic/django-announce/Gdqn58RqIDM>
- <https://groups.google.com/forum/#!topic/django-announce/zFCMdgUnutU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F2ZHO3GZCJMP3DDTXCNVFV6ED3W64NAU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OLGFFLMF3X6USMJD7V5F5P4K2WVUTO3T>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCRPQCBTV3RZHKVZ6K6QOAANPRZQD3GI>
- <https://security.netapp.com/advisory/ntap-20200918-0004>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-m6gj-h9gm-gw44>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m6gj-h9gm-gw44/>. Everything for agents: <https://agentprime.io/llms.txt>.
