UBUNTU-CVE-2025-69217

Source
https://ubuntu.com/security/CVE-2025-69217
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-69217
Upstream
Published
2025-12-30T01:15:00Z
Modified
2026-01-20T19:15:21.174680Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.5.0.3-1ubuntu0.4?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.4.5.4-2
4.5.0.2-3
4.5.0.3-1
4.5.0.3-1build1
4.5.0.3-1ubuntu0.2
4.5.0.3-1ubuntu0.3
4.5.0.3-1ubuntu0.4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.5.0.3-1ubuntu0.4",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"
Ubuntu:18.04:LTS
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.5.0.7-1ubuntu2.18.04.3?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.0.6-1ubuntu2
4.5.0.7-1ubuntu1
4.5.0.7-1ubuntu2
4.5.0.7-1ubuntu2.18.04.1
4.5.0.7-1ubuntu2.18.04.2
4.5.0.7-1ubuntu2.18.04.3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.5.0.7-1ubuntu2.18.04.3",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"
Ubuntu:20.04:LTS
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.5.1.1-1.1ubuntu0.20.04.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.1.1-1.1build1
4.5.1.1-1.1build2
4.5.1.1-1.1ubuntu0.20.04.1
4.5.1.1-1.1ubuntu0.20.04.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.5.1.1-1.1ubuntu0.20.04.2",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"
Ubuntu:22.04:LTS
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.5.2-3.1~ubuntu22.04.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.5.2-3
4.5.2-3.1~ubuntu22.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.5.2-3.1~ubuntu22.04.1",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"
Ubuntu:24.04:LTS
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.6.1-1build4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.6.1-1build1
4.6.1-1build2
4.6.1-1build3
4.6.1-1build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.6.1-1build4",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"
Ubuntu:25.10
coturn

Package

Name
coturn
Purl
pkg:deb/ubuntu/coturn@4.6.1-2build1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.6.1-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.6.1-2build1",
            "binary_name": "coturn"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69217.json"