Alpine: multiple black packages: security update to 24.3.0-r0

medium Tenable Self-Hosted Container Security Plugin ID 426927

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS)
via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this
vulnerability by crafting a malicious input that causes a denial of service. Exploiting this vulnerability
is possible when running Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings. (CVE-2024-21503)

See Also

https://security.alpinelinux.org/vuln/CVE-2024-21503

Plugin Details

Severity: Medium

ID: 426927

Version: Revision 1.6

Type: Local

Published: 5/16/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-21503

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 3/19/2024

Reference Information

CVE: CVE-2024-21503