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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| coturn | coturn | < 4.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | coturn | 4.5.2-1 | — |
| Debian 13 | coturn | 4.5.2-1 | — |
| Debian 12 | coturn | 4.5.2-1 | — |
| Debian 10 | coturn | 4.5.1.1-1.1+deb10u2 | DSA-4829-1 |
| Debian 9 | coturn | 4.5.0.5-1+deb9u3 | DLA-2522-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | coturn | 4.5.1.1-1.1ubuntu0.20.04.2 | USN-4690-1 |
| Ubuntu 18.04 LTS | coturn | 4.5.0.7-1ubuntu2.18.04.3 | USN-4690-1 |
| Ubuntu 16.04 LTS | coturn | 4.5.0.3-1ubuntu0.4 | USN-4690-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | coturn | 4.5.2-2.2 | openSUSE-SU-2024:10696-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | coturn | 4.5.2-r0 | — |
| Alpine v3.23 | coturn | 4.5.2-r0 | — |
| Alpine v3.22 | coturn | 4.5.2-r0 | — |
| Alpine v3.21 | coturn | 4.5.2-r0 | — |
| Alpine v3.20 | coturn | 4.5.2-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | coturn | 4.5.2-r0 | — |
| Alpine v3.18 | coturn | 4.5.2-r0 | — |
| Alpine v3.17 | coturn | 4.5.2-r0 | — |
| Alpine v3.16 | coturn | 4.5.2-r0 | — |
| Alpine v3.15 | coturn | 4.5.2-r0 | — |
| Alpine v3.14 | coturn | 4.5.2-r0 | — |
| Alpine v3.13 | coturn | 4.5.2-r0 | — |
Advisories 4
- DSA-4829-1 coturn - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2522-1 coturn - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4690-1 coturn vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10696-1 coturn-4.5.2-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p
- https://github.com/coturn/coturn/commit/abfe1fd08d78baa0947d17dac0f7411c3d948e4d
- https://github.com/coturn/coturn/blob/57180ab60afcaeb13537e69ae8cb8aefd8f3f546/ChangeLog#L48
- FEDORA-2021-dee141fc61 vendor-advisory
- FEDORA-2021-32d0068851 vendor-advisory