Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting coturn/coturn package, versions [4.6.3,4.8.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.42% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-COTURNCOTURN-14724490
  • published30 Dec 2025
  • disclosed30 Dec 2025
  • creditjornlp

Introduced: 30 Dec 2025

CVE-2025-69217  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

Upgrade coturn/coturn to version 4.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) via the turn_random() function. An attacker can predict authentication nonces and relay port allocations by reconstructing the state of the random number generator after making multiple sequential allocation requests. This enables sending authenticated messages while spoofing IP addresses and predicting future relay ports.

Note: This is only exploitable if the attacker knows valid credentials, which is often the case in certain IoT deployments.

CVSS Base Scores

version 4.0
version 3.1