FreeBSD : Django -- multiple vulnerabilities (002432c8-ef6a-11ea-ba8f-08002728f74c)

high Nessus Plugin ID 140310

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Django Release notes :

CVE-2020-24583: Incorrect permissions on intermediate-level directories on Python 3.7+

On Python 3.7+, FILE_UPLOAD_DIRECTORY_PERMISSIONS mode was not applied to intermediate-level directories created in the process of uploading files and to intermediate-level collected static directories when using the collectstatic management command.

CVE-2020-24584: Permission escalation in intermediate-level directories of the file system cache on Python 3.7+

On Python 3.7+, the intermediate-level directories of the file system cache had the system's standard umask rather than 0o077 (no group or others permissions).

Solution

Update the affected packages.

See Also

https://docs.djangoproject.com/en/3.0/releases/3.0.10/

https://docs.djangoproject.com/en/3.1/releases/3.1.1/

http://www.nessus.org/u?539d9be0

https://docs.djangoproject.com/en/2.2/releases/2.2.16/

Plugin Details

Severity: High

ID: 140310

File Name: freebsd_pkg_002432c8ef6a11eaba8f08002728f74c.nasl

Version: 1.4

Type: local

Published: 9/8/2020

Updated: 2/21/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2020-24584

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py35-django22, p-cpe:/a:freebsd:freebsd:py36-django22, p-cpe:/a:freebsd:freebsd:py36-django30, p-cpe:/a:freebsd:freebsd:py36-django31, p-cpe:/a:freebsd:freebsd:py37-django22, p-cpe:/a:freebsd:freebsd:py37-django30, p-cpe:/a:freebsd:freebsd:py37-django31, p-cpe:/a:freebsd:freebsd:py38-django22, p-cpe:/a:freebsd:freebsd:py38-django30, p-cpe:/a:freebsd:freebsd:py38-django31, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 9/5/2020

Vulnerability Publication Date: 9/1/2020

Reference Information

CVE: CVE-2020-24583, CVE-2020-24584