CVE-2020-26262
published high CVSS 3.1 · 7.2Loopback bypass in Coturn
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| coturn | — | coturn< 4.5.2 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Debian | buster | coturn | Advisory build | 4.5.1.1-1.1+deb10u2 | DSA-4829-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturnaarch64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| Ubuntu | bionic | coturn | Advisory build | 4.5.0.7-1ubuntu2.18.04.3 | USN-4690-1 |
| Alpine Linux | v3.13 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.14 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.15 | coturn | Fixed | 4.5.2-r0 | Package fix record |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.17 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.18 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.19 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.20 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.21 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.22 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.23 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Alpine Linux | v3.24 | coturn | Fixed | 4.5.2-r0 | Package fix record |
| Debian | stretch | coturn | Advisory build | 4.5.0.5-1+deb9u3 | DLA-2522-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturnppc64le | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturns390x | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturnx86_64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| Ubuntu | focal | coturn | Advisory build | 4.5.1.1-1.1ubuntu0.20.04.2 | USN-4690-1 |
| Ubuntu | xenial | coturn | Advisory build | 4.5.0.3-1ubuntu0.4 | USN-4690-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-develaarch64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-develppc64le | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-devels390x | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-develx86_64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-utilsaarch64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-utilsppc64le | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-utilss390x | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | coturn-utilsx86_64 | Advisory build | 4.5.2-2.2 | OPENSUSE-SU-2024:10696-1 |
Description
Coturn is free open source implementation of TURN and STUN Server. Coturn before version 4.5.2 by default does not allow peers to connect and relay packets to loopback addresses in the range of `127.x.x.x`. However, it was observed that when sending a `CONNECT` request with the `XOR-PEER-ADDRESS` value of `0.0.0.0`, a successful response was received and subsequently, `CONNECTIONBIND` also received a successful response. Coturn then is able to relay packets to the loopback interface. Additionally, when coturn is listening on IPv6, which is default, the loopback interface can also be reached by making use of either `[::1]` or `[::]` as the peer address. By using the address `0.0.0.0` as the peer address, a malicious user will be able to relay packets to the loopback interface, unless `--denied-peer-ip=0.0.0.0` (or similar) has been specified. Since the default configuration implies that loopback peers are not allowed, coturn administrators may choose to not set the `denied-peer-ip` setting. The issue patched in version 4.5.2. As a workaround the addresses in the address block `0.0.0.0/8`, `[::1]` and `[::]` should be denied by default unless `--allow-loopback-peers` has been specified.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| coturn | coturn | < 4.5.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-441 CWE-441 Unintended Proxy or Intermediary ('Confused Deputy')
- CWE-682 CWE-682 Incorrect Calculation
References
5- https://github.com/coturn/coturn/blob/57180ab60afcaeb13537e69ae8cb8aefd8f3f546/ChangeLog#L48
- https://github.com/coturn/coturn/commit/abfe1fd08d78baa0947d17dac0f7411c3d948e4d
- https://github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p
- FEDORA-2021-dee141fc61 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G54UIUFTEC6RLPOISMB6FUW7456SBZC4/
- FEDORA-2021-32d0068851 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M4CJOPAQT43MYAFU3UROGLEXN3Z6RS4H/
Provider assertions
2GitHub_M · cna
Loopback bypass in Coturn
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 297f043e4f0e45f8ae596129cdccfc98f92a8ad53629548ec883245b9ade0015
- Ingested
- 23 Sep 2026, 07:49:46 UTC
- Source record
- Official CVE record