CVE-2021-21382
CVE-2021-21382 — Unsafe loopback forwarding interface in Restund
Restund is an open source NAT traversal server. The restund TURN server can be instructed to open a relay to the loopback address range. This allows you to reach any other service running on localhost which you might consider private. In the configuration that we ship (https://github.com/wireapp/ansible-restund/blob/master/templates/restund.conf.j2#L40-L43) the `status` interface of restund is enabled and is listening on `127.0.0.1`.The `status` interface allows users to issue administrative commands to `restund` like listing open relays or draining connections. It would be possible for an attacker to contact the status interface and issue administrative commands by setting `XOR-PEER-ADDRESS` to `127.0.0.1:{{restund_udp_status_port}}` when opening a TURN channel. We now explicitly disallow relaying to loopback addresses, 'any' addresses, link local addresses, and the broadcast address.…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
1%
chance of exploitation in 30 days
CVSS base
8.6
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.6 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-668
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //github.com/wireapp/ansible-restund/blob/master/templates/restund.conf.j2#L40-L43).
References
7 on the record
- github.com/wireapp/restund/security/advisories/GHSA-96j5-w9jq-pv2x
x_refsource_CONFIRM
- github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p
x_refsource_MISC
- github.com/wireapp/restund/pull/7
x_refsource_MISC
- docs.wire.com/understand/restund.html
x_refsource_MISC
- github.com/wireapp/ansible-restund/blob/master/templates/restund.conf.j2#L40-L43
x_refsource_MISC
- talosintelligence.com/vulnerability_reports/TALOS-2018-0732
x_refsource_MISC
- www.rtcsec.com/post/2021/01/details-about-cve-2020-26262-bypass-of-coturns-default-access-control-protection/#further-concerns-what-else
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-9074 Docker Desktop allows unauthenticated access to Docker Engine API from containersCVSS 9.3
- CVE-2026-96812 Host Root Sandbox Escape in gVisor via Character Device Passthrough and CUSECVSS 8.8
- CVE-2026-80268 Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Exposure of Resource to Wrong Sphere vulnerabilityCVSS 7.8
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.