Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS00d20yLWN3Y2Ytd3d2cM4AAzEx
Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00d20yLWN3Y2Ytd3d2cM4AAzEx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 12 months ago
Updated: 6 months ago
CVSS Score: 4.8
CVSS vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-4wm2-cwcf-wwvp, CVE-2023-31134
References:
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp
- https://github.com/tauri-apps/tauri/commit/9c0593c33af52cd9e00ec784d15f63efebdf039c
- https://en.wikipedia.org/wiki/Open_redirect
- https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9
- https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4
- https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5
- https://tauri.app/v1/api/config/#securityconfig.dangerousremotedomainipcaccess
- https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767
- https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f
- https://nvd.nist.gov/vuln/detail/CVE-2023-31134
- https://github.com/advisories/GHSA-4wm2-cwcf-wwvp
Blast Radius: 17.5
Affected Packages
cargo:tauri
Dependent packages: 70Dependent repositories: 4,409
Downloads: 1,870,414 total
Affected Version Ranges: >= 1.2.0, < 1.2.5, >= 1.1.0, < 1.1.4, >= 1.0.0, < 1.0.9
Fixed in: 1.2.5, 1.1.4, 1.0.9
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4
All unaffected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0, 0.6.2, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.11.0, 0.11.1, 1.0.9, 1.1.4, 1.2.5, 1.3.0, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2