Incorrect Default Permissions Affecting py3-django package, versions <1.11.29-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.22% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE311-PY3DJANGO-1535479
  • published2 Aug 2021
  • disclosed1 Sept 2020

Introduced: 1 Sep 2020

CVE-2020-24583  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade Alpine:3.11 py3-django to version 1.11.29-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-django package and not the py3-django package as distributed by Alpine. See How to fix? for Alpine:3.11 relevant fixed versions and status.

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). FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files. It was also not applied to intermediate-level collected static directories when using the collectstatic management command.

CVSS Scores

version 3.1