CVE-2025-69217
Last modified
CVE-2025-69217 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-69217?
How severe is CVE-2025-69217?
How do I fix CVE-2025-69217?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-69211Nest is a framework for building scalable Node.js server-sid…7.4
- CVE-2025-69212OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-69213OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-69214OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-69215OpenSTAManager is an open source management software for tec…8.8
- CVE-2025-69216OpenSTAManager is an open source management software for tec…6.5
- CVE-2025-69218Discourse is an open source discussion platform. In versions…6.5
- CVE-2025-69219A user with access to the DB could craft a database entry th…8.8
- CVE-2025-69220LibreChat is a ChatGPT clone with additional features. Versi…5.9
- CVE-2025-69221LibreChat is a ChatGPT clone with additional features. Versi…4.3
- CVE-2025-69222LibreChat is a ChatGPT clone with additional features. Versi…8.1
- CVE-2025-69223AIOHTTP is an asynchronous HTTP client/server framework for …7.5
Are you affected by CVE-2025-69217?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
