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

critical Tenable Self-Hosted Container Security Plugin ID 435495

Description

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

- An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7.
QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL
injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the
**kwargs passed to these methods (on MySQL and MariaDB). (CVE-2025-59681)

- An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The
django.utils.archive.extract() function, used by the "startapp --template" and "startproject --template"
commands, allows partial directory traversal via an archive with file paths sharing a common prefix with
the target directory. (CVE-2025-59682)

See Also

https://security.alpinelinux.org/vuln/CVE-2025-59681

https://security.alpinelinux.org/vuln/CVE-2025-59682

Plugin Details

Severity: Critical

ID: 435495

Version: Revision 1.7

Type: Local

Published: 10/2/2025

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: 57.88

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2025-59681

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 10/1/2025

Reference Information

CVE: CVE-2025-59681, CVE-2025-59682