CVE-2023-46115
Last modified
CVE-2023-46115 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Tauri | Tauri | < 2.0.0 | — |
| Tauri | Tauri | 2.0.0 | Alpha0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-46115?
How severe is CVE-2023-46115?
How do I fix CVE-2023-46115?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-4610Rejected reason: The SRCU code was added in upstream kernel …
- CVE-2023-46100in OpenHarmony v3.2.2 and prior versions allow a local attac…5.5
- CVE-2023-46102The Android Client application, when enrolled to the AppHub …8.8
- CVE-2023-46103Sequence of processor instructions leads to unexpected behav…4.7
- CVE-2023-46104Uncontrolled resource consumption can be triggered by authen…6.5
- CVE-2023-4611A use-after-free flaw was found in mm/mempolicy.c in the mem…6.3
- CVE-2023-46116Tutanota (Tuta Mail) is an encrypted email provider. Tutanot…8.8
- CVE-2023-46117reconFTW is a tool designed to perform automated recon on a …8.8
- CVE-2023-46118RabbitMQ is a multi-protocol messaging and streaming broker.…4.9
- CVE-2023-46119Parse Server is an open source backend that can be deployed …7.5
- CVE-2023-4612Improper Authentication vulnerability in Apereo CAS in jakar…9.8
- CVE-2023-46120The RabbitMQ Java client library allows Java and JVM-based a…7.5
Are you affected by CVE-2023-46115?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
