CVE-2023-31134
Tauri vulnerability
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.
Affected products
Tauri. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tauri runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp · Vendor Advisory
- www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767 · Patch
- www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f · Patch
- github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9
- github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4
- github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5
- nvd.nist.gov/vuln/detail/CVE-2023-31134
- cve.org/CVERecord?id=CVE-2023-31134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.