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 makair-control

Dependencies

(21 total, 11 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 log^0.40.4.22up to date
 clap^2.334.5.21out of date
 confy^0.40.6.1out of date
 lazy_static^1.41.5.0up to date
 serde^1.01.0.215up to date
 paste^1.01.0.15up to date
 rust-embed ⚠️^5.68.5.0out of date
 chrono ⚠️^0.40.4.38maybe insecure
 fluent^0.150.16.1out of date
 intl-memoizer^0.50.5.2up to date
 unic-langid^0.90.9.5up to date
 inflate^0.40.4.5up to date
 winit^0.190.30.5out of date
 image^0.230.25.5out of date
 glium^0.240.36.0out of date
 plotters^0.30.3.7up to date
 plotters-conrod^0.30.3.12up to date
 conrod_glium^0.700.76.1out of date
 conrod_winit^0.700.76.1out of date
 conrod_core^0.700.76.1out of date
 sysfs_gpio^0.50.6.2out of date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

rust-embed: RustEmbed generated `get` method allows for directory traversal when reading files from disk

RUSTSEC-2021-0126

When running in debug mode and the debug-embed (off by default) feature is not enabled, the generated get method does not check that the input path is a child of the folder given.

This allows attackers to read arbitrary files in the file system if they have control over the filename given. The following code will print the contents of your /etc/passwd if adjusted with a correct number of ../s depending on where it is run from.

#[derive(rust_embed::RustEmbed)]
#[folder = "src/"]
pub struct Asset;

fn main() {
    let d = Asset::get("../../../etc/passwd").unwrap().data;
    println!("{}", String::from_utf8_lossy(&d));
}

The flaw was corrected by canonicalizing the input filename and ensuring that it starts with the canonicalized folder path.