{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-31134",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-04-24T21:44:10.416Z",
        "datePublished": "2023-05-09T13:09:31.399Z",
        "dateUpdated": "2024-08-02T14:45:25.822Z"
    },
    "containers": {
        "cna": {
            "title": "Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-601",
                            "lang": "en",
                            "description": "CWE-601: URL Redirection to Untrusted Site ('Open Redirect')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "ADJACENT_NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.8,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp"
                },
                {
                    "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9"
                },
                {
                    "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4"
                },
                {
                    "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5"
                },
                {
                    "name": "https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767"
                },
                {
                    "name": "https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f"
                }
            ],
            "affected": [
                {
                    "vendor": "tauri-apps",
                    "product": "tauri",
                    "versions": [
                        {
                            "version": ">= 1.0.0, < 1.0.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 1.1.0, < 1.1.4",
                            "status": "affected"
                        },
                        {
                            "version": ">= 1.2.0, < 1.2.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-05-09T13:09:31.399Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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\narbitrary 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."
                }
            ],
            "source": {
                "advisory": "GHSA-4wm2-cwcf-wwvp",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T14:45:25.822Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvp"
                    },
                    {
                        "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9"
                    },
                    {
                        "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4"
                    },
                    {
                        "name": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5"
                    },
                    {
                        "name": "https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767"
                    },
                    {
                        "name": "https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1f"
                    }
                ]
            }
        ]
    }
}