Advisory

GHSA-4wm2-cwcf-wwvp

Also known as: CVE-2023-31134

Summary

Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites

Details

Impact
The Tauri IPC is usually strictly isolated from external websites but 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[^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.

Patches
This issue has been patched in the latest release and was backported to all previous 1.x releases.

Workarounds
Prevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.

References

The feature to enable this behavior in a more constrained way was introduced in the 1.3 release and documentation around this can be found in the documentation.

[^open-redirect]: https://en.wikipedia.org/wiki/Open_redirect

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-05-03 21:57 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

tauri

crates.io · All systems

Affected

  • introduced 1.0.0, fixed 1.0.9 (semver)

Fixed versions

1.0.9

Fix

  • Fixed version 1.0.9
    cargo update -p tauri --precise 1.0.9

tauri

crates.io · All systems

Affected

  • introduced 1.1.0, fixed 1.1.4 (semver)

Fixed versions

1.1.4

Fix

  • Fixed version 1.1.4
    cargo update -p tauri --precise 1.1.4

tauri

crates.io · All systems

Affected

  • introduced 1.2.0, fixed 1.2.5 (semver)

Fixed versions

1.2.5

Fix

  • Fixed version 1.2.5
    cargo update -p tauri --precise 1.2.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences