CVE-2023-34460: Tauri Tauri Vulnerable To Regression On Vulnerability
MODERATECVE-2023-34460 is a MODERATE (CVSS 4.8) tauri vulnerable to regression on vulnerability (CWE-285: Improper Authorization) affecting Tauri libraries in the crates.io ecosystem. The issue involves tauri vulnerable to regression on filesystem scope checks for dotfiles. Remediation is available by upgrading affected packages to version 1.4.1.
CVE-2023-34460 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2023-34460
To remediate this vulnerability, upgrade all affected Tauri dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade tauri to 1.4.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for tauri
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-34460, inspect your project dependencies for Tauri:
inspect dependencies for tauri
Analyze the terminal output to locate any version of Tauri in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Tauri, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-34460 Affected Tauri Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tauri
|
crates.io |
≥ 1.4.0
< 1.4.1
All 1 versions
1.4.0
|
1.4.1
|
References
Frequently Asked Questions
What is CVE-2023-34460?
Which Tauri versions are affected?
What version fixes CVE-2023-34460?
Is tauri affected?
What is the CVSS score of CVE-2023-34460?
What CWE is associated with CVE-2023-34460?
How can I check crates.io dependencies for CVE-2023-34460?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wmff-grcw-jcfm",
"modified" : "2023-06-21T18:35:21Z",
"published" : "2023-06-21T18:35:21Z",
"aliases" : [ "CVE-2023-34460" ],
"summary" : "Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles",
"details" : "### Impact\nThe 1.4.0 release includes a regression on the filesystem scope check for dotfiles on Linux and macOS.\n\nPreviously dotfiles (eg. `$HOME/.ssh/`) were not implicitly allowed by the glob wildcard scopes (eg. `$HOME/*`), but a regression was introduced when a configuration option for this behavior was implemented and dotfiles were implicitly allowed.\n\nOnly Tauri applications using wildcard scopes in the `fs` endpoint are affected.\nOnly macOS and Linux systems are affected.\n\n### Patches\nThe regression has been patched on `v1.4.1`.\n\n### Workarounds\nThere are no known workarounds at this time, users should update to `v1.4.1` immediately.\n\n### References\nSee the [original advisory](https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5) for more information.\n\n### For more Information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in tauri\nEmail us at [security@tauri.app](mailto:security@tauri.app)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "tauri"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.4.0"
}, {
"fixed" : "1.4.1"
} ]
} ],
"versions" : [ "1.4.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5"
}, {
"type" : "WEB",
"url" : "https://github.com/tauri-apps/tauri/security/advisories/GHSA-wmff-grcw-jcfm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-34460"
}, {
"type" : "WEB",
"url" : "https://github.com/tauri-apps/tauri/pull/6969#discussion_r1232018347"
}, {
"type" : "WEB",
"url" : "https://github.com/tauri-apps/tauri/pull/7227"
}, {
"type" : "WEB",
"url" : "https://github.com/tauri-apps/tauri/commit/066c09a6ea06f42f550d090715e06beb65cd5564"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tauri-apps/tauri"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-06-21T18:35:21Z",
"nvd_published_at" : "2023-06-23T20:15:09Z"
}
}