Alpine: multiple py3-django packages: security update to 3.1.13-r0

critical Tenable Cloud Security Plugin ID 406655

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via
django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of
arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by
application developers to also show file contents, then not only the existence but also the file contents
would have been exposed. In other words, there is directory traversal outside of the template root
directories. (CVE-2021-33203)

- In Django 2.2 before 2.2.24, 3.x before 3.1.12, and 3.2 before 3.2.4, URLValidator, validate_ipv4_address,
and validate_ipv46_address do not prohibit leading zero characters in octal literals. This may allow a
bypass of access control that is based on IP addresses. (validate_ipv4_address and validate_ipv46_address
are unaffected with Python 3.9.5+..) . (CVE-2021-33571)

- Django 3.1.x before 3.1.13 and 3.2.x before 3.2.5 allows QuerySet.order_by SQL injection if order_by is
untrusted input from a client of a web application. (CVE-2021-35042)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-33203

https://security.alpinelinux.org/vuln/CVE-2021-33571

https://security.alpinelinux.org/vuln/CVE-2021-35042

Plugin Details

Severity: Critical

ID: 406655

Version: Revision 1.29

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.01

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2021-35042

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 6/8/2021

Reference Information

CVE: CVE-2021-33203, CVE-2021-33571, CVE-2021-35042