Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli
CVE-2023-46115

8.4HIGH

Key Information:

Vendor

Tauri-apps

Status
Vendor
CVE Published:
20 October 2023

What is CVE-2023-46115?

The Tauri Framework, designed for building cross-platform binaries, is vulnerable due to a misconfiguration when integrating with the Vite frontend. Specifically, the inclusion of a code snippet that uses the 'envPrefix' with both 'VITE_' and 'TAURI_' in the Vite configuration can inadvertently expose sensitive information, namely the private key and updater key password, within the bundled application. This stems from an example in the Tauri documentation, which illustrates insecure practices. Developers are encouraged to adopt safer configurations and are advised to rotate their updater private key if impacted, ensuring a secure application build process.

Affected Version(s)

tauri >= 2.0.0-alpha.0, < 2.0.0-alpha.16 < 2.0.0-alpha.0, 2.0.0-alpha.16

tauri >= 1.0.0, < 1.5.6 < 1.0.0, 1.5.6

References

CVSS V3.1

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.