CVE-2023-31134 Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites

Medium 4.8 Published Updated

Attackers can bypass IPC isolation via open redirects, exposing internal APIs to external sites in Tauri desktop applications.

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

What is CVE-2023-31134?

CVE-2023-31134 is a medium-severity vulnerability in tauri-apps tauri, published on 9 May 2023. 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

Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect. This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands. This issue has been patched in versions 1.0.9, 1.1.4, and 1.2.5. As a workaround, prevent arbitrary input in redirect features and/or only allow trusted websites access to the IPC.

Weakness: CWE-601

Which versions are affected by CVE-2023-31134?

6 open source packages ship an affected version, including tauri. It affects 1 product.

PackageAffectedFixed in
tauri crates.ioFrom 1.0.01.0.9
tauri crates.ioFrom 1.0.01.0.9
tauri crates.ioFrom 1.1.01.1.4
tauri crates.ioFrom 1.1.01.1.4
tauri crates.ioFrom 1.2.01.2.5
tauri crates.ioFrom 1.2.01.2.5

Products include Tauri Tauri.

How do I fix CVE-2023-31134?

Upgrade tauri to a fixed version for your release line: 1.0.9, 1.1.4 or 1.2.5.

Is CVE-2023-31134 being exploited?

There is no known exploitation of CVE-2023-31134 in the wild and no public exploit code.

Sources

Also known as GHSA-4wm2-cwcf-wwvp.

Is CVE-2023-31134 in your software?

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

Check your SBOMs for free