GHSA-4wm2-cwcf-wwvp

Suggest an improvement
Source
https://github.com/advisories/GHSA-4wm2-cwcf-wwvp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-4wm2-cwcf-wwvp/GHSA-4wm2-cwcf-wwvp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4wm2-cwcf-wwvp
Aliases
Published
2023-05-03T21:57:22Z
Modified
2023-11-08T04:12:29.574036Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-05-09T14:15:13Z",
    "cwe_ids": [
        "CWE-601"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-03T21:57:22Z"
}
References

Affected packages

crates.io / tauri

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.0.9

crates.io / tauri

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.1.0
Fixed
1.1.4

crates.io / tauri

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.2.0
Fixed
1.2.5