CVE catalog

CVE-2020-24584

python-django affected and fixed versions

[CVE catalog]

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
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
3.30% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixie-securitypython-django3:4.2.28-0+deb13u1Fixed[CVE-2020-24584]
Debiantrixiepython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debiantrixiepython-django3:4.2.28-0+deb13u2Fixed[CVE-2020-24584]
Debiansidpython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debiansidpython-django3:5.2.18-2Fixed[CVE-2020-24584]
Debianforkypython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debianforkypython-django3:5.2.17-2Fixed[CVE-2020-24584]
Debianbookworm-securitypython-django3:3.2.25-0+deb12u6Fixed[CVE-2020-24584]
Debianbookwormpython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debianbookwormpython-django3:3.2.25-0+deb12u3Fixed[CVE-2020-24584]

Showing 10 fix observations. All 23 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Alpine3.10py-django1.11.29-r1UnknownSource applicability is not established[ALPINE-CVE-2020-24584]
Alpine3.11py3-django1.11.29-r1UnknownSource applicability is not established[ALPINE-CVE-2020-24584]
Alpine3.12py3-django1.11.29-r1UnknownSource applicability is not established[ALPINE-CVE-2020-24584]
Alpine3.9py-django1.11.29-r1UnknownSource applicability is not established[ALPINE-CVE-2020-24584]
Debianbookwormpython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debianbookwormpython-django3:3.2.25-0+deb12u3Fixed[CVE-2020-24584]
Debianbookworm-securitypython-django3:3.2.25-0+deb12u6Fixed[CVE-2020-24584]
Debianforkypython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debianforkypython-django3:5.2.17-2Fixed[CVE-2020-24584]
Debiansidpython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debiansidpython-django3:5.2.18-2Fixed[CVE-2020-24584]
Debiantrixiepython-django2:2.2.16-1FixedDistribution-reported fixed boundary[CVE-2020-24584]
Debiantrixiepython-django3:4.2.28-0+deb13u2Fixed[CVE-2020-24584]
Debiantrixie-securitypython-django3:4.2.28-0+deb13u1Fixed[CVE-2020-24584]
Ubuntu20.04python-django1:1.11.22-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.10-1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.10-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.11-1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.12-1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.12-1ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.12-1ubuntu0.2UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.6-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Ubuntu20.04python-django2:2.2.9-2ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2020-24584]
Original provider fields
{
  "package_releases": [
    {
      "name": "python-django",
      "status": "fixed",
      "release": "sid",
      "version": "3:5.2.18-2"
    },
    {
      "name": "python-django",
      "status": "fixed",
      "release": "forky",
      "version": "3:5.2.17-2"
    },
    {
      "name": "python-django",
      "status": "fixed",
      "release": "trixie",
      "version": "3:4.2.28-0+deb13u2"
    },
    {
      "name": "python-django",
      "status": "fixed",
      "release": "trixie-security",
      "version": "3:4.2.28-0+deb13u1"
    },
    {
      "name": "python-django",
      "status": "fixed",
      "release": "bookworm",
      "version": "3:3.2.25-0+deb12u3"
    },
    {
      "name": "python-django",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "3:3.2.25-0+deb12u6"
    }
  ],
  "fixed_versions": [
    {
      "bug": 969367,
      "name": "python-django",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "2:2.2.16-1"
    },
    {
      "bug": 969367,
      "name": "python-django",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "2:2.2.16-1"
    },
    {
      "bug": 969367,
      "name": "python-django",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "2:2.2.16-1"
    },
    {
      "bug": 969367,
      "name": "python-django",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "2:2.2.16-1"
    }
  ],
  "distribution_packages": [
    {
      "name": "py-django",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.11.29-r1"
            }
          ]
        }
      ],
      "release": "3.10",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-24584",
      "fixed_version": "1.11.29-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2020-24584",
      "provider_updated_at": "2026-10-26T11:17:55.150134289Z",
      "applicability_unknown": true
    },
    {
      "name": "py-django",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.11.29-r1"
            }
          ]
        }
      ],
      "release": "3.9",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-24584",
      "fixed_version": "1.11.29-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2020-24584",
      "provider_updated_at": "2026-10-26T11:17:55.150134289Z",
      "applicability_unknown": true
    },
    {
      "name": "py3-django",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.11.29-r1"
            }
          ]
        }
      ],
      "release": "3.11",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-24584",
      "fixed_version": "1.11.29-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2020-24584",
      "provider_updated_at": "2026-10-26T11:17:55.150134289Z",
      "applicability_unknown": true
    },
    {
      "name": "py3-django",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.11.29-r1"
            }
          ]
        }
      ],
      "release": "3.12",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-24584",
      "fixed_version": "1.11.29-r1",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2020-24584",
      "provider_updated_at": "2026-10-26T11:17:55.150134289Z",
      "applicability_unknown": true
    },
    {
      "name": "python-django",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:2.2.12-1ubuntu0.2"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1:1.11.22-1ubuntu1",
        "2:2.2.6-1ubuntu1",
        "2:2.2.9-2ubuntu1",
        "2:2.2.10-1",
        "2:2.2.10-1ubuntu1",
        "2:2.2.11-1",
        "2:2.2.12-1",
        "2:2.2.12-1ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-24584",
      "fixed_version": "2:2.2.12-1ubuntu0.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2020-24584",
      "provider_updated_at": "2026-02-04T02:16:14.491306Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #969367]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 2:2.2.16-1

      dsa · python-django · debian · 13

Observed:

References