Home / wireapp / restund / CVE-2021-21382
CVE-2021-21382: is it exploited, and which versions of wireapp restund are affected and fixed?
CVE-2021-21382 is a resource exposed to the wrong sphere vulnerability in wireapp restund. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: restund < 0.4.15 (CVE record by GitHub_M). Fixed in 0.4.15 (NVD). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.
What is 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. As a workaround disable the `status` module in your restund configuration. However there might still be other services running on `127.0.0.0/8` that you do not want to have exposed. The `turn` module can be disabled. Restund will still perform STUN and this might already be enough for initiating calls in your environments. TURN is only used as a last resort when other NAT traversal options do not work. One should also make sure that the TURN server is set up with firewall rules so that it cannot relay to other addresses that you don't want the TURN server to relay to. For example other services in the same VPC where the TURN server is running. Ideally TURN servers should be deployed in an isolated fashion where they can only reach what they need to reach to perform their task of assisting NAT-traversal.
From the CVE record by GitHub_M, last updated August 3, 2024, 18:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| wireapp | restund | < 0.4.15 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wire | restund | before 0.4.15 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:35 UTC.
How severe is CVE-2021-21382?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N | NVD |
| Medium 5.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-21382 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.47% probability of exploitation activity in the next 30 days, percentile 74.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/wireapp/restund/security/advisories/GHSA-96j5-w9jq-pv2x x_refsource_CONFIRM
- https://github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7p x_refsource_MISC
- https://github.com/wireapp/restund/pull/7 x_refsource_MISC
- https://docs.wire.com/understand/restund.html x_refsource_MISC
- https://github.com/wireapp/ansible-restund/blob/master/templates/restund.conf.j2#L40-L43 x_refsource_MISC
- https://talosintelligence.com/vulnerability_reports/TALOS-2018-0732 x_refsource_MISC
- https://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
When was it published, and where is the official record?
- Reserved
- December 22, 2020
- Published
- June 11, 2021, 20:50 UTC
- CVE record updated
- August 3, 2024, 18:09 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:35 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-21382
Is CVE-2021-21382 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 1.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of wireapp restund are affected by CVE-2021-21382?
restund < 0.4.15, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2021-21382?
0.4.15, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-21382?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-21382?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.