Alpine: asterisk: security update to 20.9.2-r0

high Tenable Self-Hosted Container Security Plugin ID 408495

Description

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

- Asterisk is an open source private branch exchange (PBX) and telephony toolkit. Prior to asterisk versions
18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2, an AMI user with
`write=originate` may change all configuration files in the `/etc/asterisk/` directory. This occurs
because they are able to curl remote files and write them to disk, but are also able to append to existing
files using the `FILE` function inside the `SET` application. This issue may result in privilege
escalation, remote code execution and/or blind server-side request forgery with arbitrary protocol.
Asterisk versions 18.24.2, 20.9.2, and 21.4.2 and certified-asterisk versions 18.9-cert11 and 20.7-cert2
contain a fix for this issue. (CVE-2024-42365)

See Also

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

Plugin Details

Severity: High

ID: 408495

Version: Revision 1.7

Type: Local

Published: 8/31/2024

Updated: 11/7/2025

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.49

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-42365

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/8/2024

Exploitable With

Metasploit (Asterisk AMI Originate Authenticated RCE)

Reference Information

CVE: CVE-2024-42365