BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-21382 in Wire Restund

Critical 9.6

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.6
EPSS1.5%
EPSS percentile74th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Wire Restund < 0.4.15

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-21382
BreachSpider IDBS-2021-GLOBAL-077717-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Published2021-06-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-668: CWE-668

CWE-862: Missing Authorization

Software does not check whether an authenticated actor has permission for the requested operation.

Related attack patterns (CAPEC)

CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-21382 affects Restund, an open-source NAT traversal server, by allowing attackers to open a relay to the loopback address range, potentially accessing private services running on localhost.

An attacker can instruct the Restund TURN server to open a relay to the loopback address range, which can be used to reach any other service running on localhost, considered private.

Questions

What is CVE-2021-21382?

CVE-2021-21382 affects Restund, an open-source NAT traversal server, by allowing attackers to open a relay to the loopback address range, potentially accessing private services running on localhost.

What is the CVSS score for CVE-2021-21382?

CVE-2021-21382 has CVSS 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N. EPSS: 1.5%.

Is CVE-2021-21382 actively exploited?

No confirmed active exploitation of CVE-2021-21382 as of 2026-09-25.

How do I remediate CVE-2021-21382?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2021-21382?

CVE-2021-21382 affects Wire Restund.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Wire","product":"Restund","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.