CVE-2022-41925 Tailscale daemon is vulnerable to information disclosure via CSRF

Low 3.8 Published Updated

Attackers can use DNS rebinding to access the peer API, reading environment variables and potentially hijacking the tailnet.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-41925?

CVE-2022-41925 is a low-severity vulnerability in tailscale, published on 23 Nov 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables. In the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables. An attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop. All Tailscale clients prior to version v1.32.3 are affected. Upgrade to v1.32.3 or later to remediate the issue.

Weakness: CWE-352

Which versions are affected by CVE-2022-41925?

3 open source packages ship an affected version, including tailscale.com/cmd and tailscale.com. It affects 1 product.

PackageAffectedFixed in
tailscale.com/cmd GoAll versions1.32.3
tailscale.com/cmd GoAll versions1.32.3
tailscale.com GoAll versions1.32.3

Products include Tailscale Tailscale.

How do I fix CVE-2022-41925?

Upgrade tailscale.com/cmd to 1.32.3 or later.

Is CVE-2022-41925 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41925 exists.

Sources

Also known as GHSA-qccm-wmcq-pwr6, GO-2022-1119.

Is CVE-2022-41925 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free