Show plain JSON{"configurations": [{"nodes": [{"cpeMatch": [{"criteria": "cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*", "matchCriteriaId": "E430B9A2-009E-472C-8332-F59AFCA75CE4", "versionEndExcluding": "2.0.0", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha0:*:*:*:*:*:*", "matchCriteriaId": "83AB9A39-B228-4A04-BC9B-55CCEDF56453", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha10:*:*:*:*:*:*", "matchCriteriaId": "243B9A11-1E18-40F2-AC37-C5670F13B0F1", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha11:*:*:*:*:*:*", "matchCriteriaId": "70FE95B8-4319-474C-8C9E-04120C69A801", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha12:*:*:*:*:*:*", "matchCriteriaId": "3379B435-C9F9-41F6-AAD0-07EB1B5978BB", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha13:*:*:*:*:*:*", "matchCriteriaId": "CC75ED3D-4E54-436A-A104-CE5B463B6EA3", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha14:*:*:*:*:*:*", "matchCriteriaId": "A50E93D4-0E9A-464C-A3AC-54687A1FEA03", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha15:*:*:*:*:*:*", "matchCriteriaId": "03DA148A-66DA-4475-B344-017BD02C80DA", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha2:*:*:*:*:*:*", "matchCriteriaId": "E79F38C9-2CDA-45D0-A952-4EA7B9D3BA4D", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha3:*:*:*:*:*:*", "matchCriteriaId": "FCD1D142-7233-454B-9406-8E50CCF3641E", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha4:*:*:*:*:*:*", "matchCriteriaId": "E23B6CAE-8CB0-435C-A47B-8B319D0FA3C9", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha5:*:*:*:*:*:*", "matchCriteriaId": "29989D53-47A4-4A50-918B-B554A0E3C23C", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha6:*:*:*:*:*:*", "matchCriteriaId": "ED4E889F-9F87-4315-AFAC-91472A413291", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha7:*:*:*:*:*:*", "matchCriteriaId": "F224BCC0-FEED-46BA-9786-4CD256782247", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha8:*:*:*:*:*:*", "matchCriteriaId": "44962758-55B7-4CDB-B32D-CD37C1481B38", "vulnerable": true}, {"criteria": "cpe:2.3:a:tauri:tauri:2.0.0:alpha9:*:*:*:*:*:*", "matchCriteriaId": "C8F7749F-AD30-4B90-ACEE-B93CDA3D56D2", "vulnerable": true}], "negate": false, "operator": "OR"}]}], "descriptions": [{"lang": "en", "value": "Tauri is a framework for building binaries for all major desktop platforms. This advisory is not describing a vulnerability in the Tauri code base itself but a commonly used misconfiguration which could lead to leaking of the private key and updater key password into bundled Tauri applications using the Vite frontend in a specific configuration. The Tauri documentation used an insecure example configuration in the `Vite guide` to showcase how to use Tauri together with Vite. Copying the following snippet `envPrefix: ['VITE_', 'TAURI_'],` from this guide into the `vite.config.ts` of a Tauri project leads to bundling the `TAURI_PRIVATE_KEY` and `TAURI_KEY_PASSWORD` into the Vite frontend code and therefore leaking this value to the released Tauri application. Using the `envPrefix: ['VITE_'],` or any other framework than Vite means you are not impacted by this advisory. Users are advised to rotate their updater private key if they are affected by this (requires Tauri CLI >=1.5.5). After updating the envPrefix configuration, generate a new private key with `tauri signer generate`, saving the new private key and updating the updater's `pubkey` value on `tauri.conf.json` with the new public key. To update your existing application, the next application build must be signed with the older private key in order to be accepted by the existing application."}, {"lang": "es", "value": "Tauri es un framework para crear archivos binarios para las principales plataformas de escritorio. Este aviso no describe una vulnerabilidad en el c\u00f3digo base de Tauri en s\u00ed, sino una configuraci\u00f3n incorrecta de uso com\u00fan que podr\u00eda provocar la filtraci\u00f3n de la clave privada y la contrase\u00f1a de la clave de actualizaci\u00f3n en aplicaciones Tauri empaquetadas que utilizan la interfaz Vite en una configuraci\u00f3n espec\u00edfica. La documentaci\u00f3n de Tauri utiliz\u00f3 una configuraci\u00f3n de ejemplo insegura en \"Vite guide\" para mostrar c\u00f3mo usar Tauri junto con Vite. Copiar el siguiente fragmento `envPrefix: ['VITE_', 'TAURI_'],` de esta gu\u00eda en `vite.config.ts` de un proyecto Tauri lleva a agrupar `TAURI_PRIVATE_KEY` y `TAURI_KEY_PASSWORD` en el c\u00f3digo de interfaz de Vite y por lo tanto filtrar este valor a la aplicaci\u00f3n Tauri lanzada. El uso de `envPrefix: ['VITE_'],` o cualquier otro marco que no sea Vite significa que este aviso no lo afecta. Se recomienda a los usuarios que roten su clave privada de actualizaci\u00f3n si se ven afectados por esto (requiere Tauri CLI >=1.5.5). Despu\u00e9s de actualizar la configuraci\u00f3n de envPrefix, genere una nueva clave privada con `tauri signer generate`, guarde la nueva clave privada y actualice el valor `pubkey` del actualizador en `tauri.conf.json` con la nueva clave p\u00fablica. Para actualizar su aplicaci\u00f3n existente, la siguiente compilaci\u00f3n de la aplicaci\u00f3n debe firmarse con la clave privada anterior para que la aplicaci\u00f3n existente la acepte."}], "id": "CVE-2023-46115", "lastModified": "2024-11-21T08:27:54.503", "metrics": {"cvssMetricV31": [{"cvssData": {"attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 8.4, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N", "version": "3.1"}, "exploitabilityScore": 2.0, "impactScore": 5.8, "source": "security-advisories@github.com", "type": "Secondary"}, {"cvssData": {"attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "NONE", "baseScore": 5.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "version": "3.1"}, "exploitabilityScore": 1.8, "impactScore": 3.6, "source": "nvd@nist.gov", "type": "Primary"}]}, "published": "2023-10-20T00:15:16.920", "references": [{"source": "security-advisories@github.com", "tags": ["Vendor Advisory"], "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259"}, {"source": "security-advisories@github.com", "tags": ["Product"], "url": "https://tauri.app/v1/guides/getting-started/setup/vite/"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Vendor Advisory"], "url": "https://github.com/tauri-apps/tauri/security/advisories/GHSA-2rcp-jvr4-r259"}, {"source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Product"], "url": "https://tauri.app/v1/guides/getting-started/setup/vite/"}], "sourceIdentifier": "security-advisories@github.com", "vulnStatus": "Modified", "weaknesses": [{"description": [{"lang": "en", "value": "CWE-200"}, {"lang": "en", "value": "CWE-522"}], "source": "security-advisories@github.com", "type": "Secondary"}, {"description": [{"lang": "en", "value": "CWE-522"}], "source": "nvd@nist.gov", "type": "Primary"}]}