{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-35222",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-05-14T15:39:41.784Z",
        "datePublished": "2024-05-23T13:20:26.220Z",
        "dateUpdated": "2024-08-02T03:07:46.872Z"
    },
    "containers": {
        "cna": {
            "title": "iFrames Bypass Origin Checks for Tauri API Access Control",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "lang": "en",
                            "description": "CWE-284: Improper Access Control",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7"
                },
                {
                    "name": "https://github.com/tauri-apps/tauri/issues/8316",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/tauri-apps/tauri/issues/8316"
                }
            ],
            "affected": [
                {
                    "vendor": "tauri-apps",
                    "product": "tauri",
                    "versions": [
                        {
                            "version": "<= 1.6.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 2.0.0-beta.0, <= 2.0.0-beta.19",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-05-23T13:20:26.220Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Tauri is a framework for building binaries for all major desktop platforms. Remote origin iFrames in Tauri applications can access the Tauri IPC endpoints without being explicitly allowed in the `dangerousRemoteDomainIpcAccess` in v1 and in the `capabilities` in v2. Valid commands with potentially unwanted consequences (\"delete project\", \"transfer credits\", etc.) could be invoked by an attacker that controls the content of an iframe running inside a Tauri app. This vulnerability has been patched in versions 1.6.7 and 2.0.0-beta.19."
                }
            ],
            "source": {
                "advisory": "GHSA-57fm-592m-34r7",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-35222",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-05-23T16:19:02.005386Z"
                            }
                        }
                    }
                ],
                "affected": [
                    {
                        "cpes": [
                            "cpe:2.3:a:tauri:tauri:1.6.6:*:*:*:*:*:*:*"
                        ],
                        "vendor": "tauri",
                        "product": "tauri",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "1.6.6"
                            },
                            {
                                "status": "affected",
                                "version": "2.0.0-beta.0",
                                "versionType": "custom",
                                "lessThanOrEqual": "2.0.0-beta.19"
                            }
                        ],
                        "defaultStatus": "affected"
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:34:02.079Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T03:07:46.872Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-57fm-592m-34r7"
                    },
                    {
                        "name": "https://github.com/tauri-apps/tauri/issues/8316",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/tauri-apps/tauri/issues/8316"
                    }
                ]
            }
        ]
    }
}