Alpine: multiple coturn packages: security update to 4.9.0-r0

medium Tenable Self-Hosted Container Security Plugin ID 482650

Description

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

- coturn is a free open source implementation of TURN and STUN Server. Versions 4.6.2r5 through 4.7.0-r4
have a bad random number generator for nonces and port randomization after refactoring. Additionally,
random numbers aren't generated with openssl's RAND_bytes but libc's random() (if it's not running on
Windows). When fetching about 50 sequential nonces (i.e., through sending 50 unauthenticated allocations
requests) it is possible to completely reconstruct the current state of the random number generator,
thereby predicting the next nonce. This allows authentication while spoofing IPs. An attacker can send
authenticated messages without ever receiving the responses, including the nonce (requires knowledge of
the credentials, which is e.g., often the case in IoT settings). Since the port randomization is
deterministic given the pseudorandom seed, an attacker can exactly reconstruct the ports and, hence
predict the randomization of the ports. If an attacker allocates a relay port, they know the current port,
and they are able to predict the next relay port (at least if it is not used before). Commit
11fc465f4bba70bb0ad8aae17d6c4a63a29917d9 contains a fix. (CVE-2025-69217)

- Coturn is a free open source implementation of TURN and STUN Server. Coturn is commonly configured to
block loopback and internal ranges using "denied-peer-ip" and/or default loopback restrictions.
CVE-2020-26262 addressed bypasses involving "0.0.0.0", "[::1]" and "[::]", but IPv4-mapped IPv6 is not
covered. When sending a "CreatePermission" or "ChannelBind" request with the "XOR-PEER-ADDRESS" value of
"::ffff:127.0.0.1", a successful response is received, even though "127.0.0.0/8" is blocked via "denied-
peer-ip". The root cause is that, prior to the updated fix implemented in version 4.9.0, three functions
in "src/client/ns_turn_ioaddr.c" do not check "IN6_IS_ADDR_V4MAPPED". "ioa_addr_is_loopback()" checks
"127.x.x.x" (AF_INET) and "::1" (AF_INET6), but not "::ffff:127.0.0.1." "ioa_addr_is_zero()" checks
"0.0.0.0" and "::", but not "::ffff:0.0.0.0." "addr_less_eq()" used by "ioa_addr_in_range()" for "denied-
peer-ip" matching: when the range is AF_INET and the peer is AF_INET6, the comparison returns 0 without
extracting the embedded IPv4. Version 4.9.0 contains an updated fix to address the bypass of the fix for
CVE-2020-26262. (CVE-2026-27624)

Solution

Update the coturn library and its related packages to version 4.9.0-r0 or later.

See Also

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

https://security.alpinelinux.org/vuln/CVE-2026-27624

Plugin Details

Severity: Medium

ID: 482650

Version: Revision 1.1

Type: Local

Published: 11/24/2026

Updated: 11/24/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.19

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-27624

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 12/30/2025

Reference Information

CVE: CVE-2025-69217, CVE-2026-27624