Previously, MemBio::get_buf
called slice::from_raw_parts
with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.
cargo-generate / cargo-generate
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.
cargo-generate
(35 total, 1 outdated, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
anstyle | ^1.0.7 | 1.0.8 | up to date |
anyhow | ~1.0 | 1.0.86 | up to date |
auth-git2 | ~0.5 | 0.5.4 | up to date |
clap | ~4.5 | 4.5.11 | up to date |
console | ~0.15 | 0.15.8 | up to date |
dialoguer | ~0.11 | 0.11.0 | up to date |
env_logger | ~0.11 | 0.11.5 | up to date |
fs-err | ^2.11 | 2.11.0 | up to date |
git2 | ~0.19 | 0.19.0 | up to date |
gix-config | ~0.37 | 0.38.0 | out of date |
heck | ~0.5 | 0.5.0 | up to date |
home | ~0.5 | 0.5.9 | up to date |
ignore | ~0.4 | 0.4.22 | up to date |
indexmap | ~2 | 2.2.6 | up to date |
indicatif | ~0.17 | 0.17.8 | up to date |
liquid | ~0.26 | 0.26.8 | up to date |
liquid-core | ~0.26 | 0.26.8 | up to date |
liquid-derive | ~0.26 | 0.26.7 | up to date |
liquid-lib | ~0.26 | 0.26.8 | up to date |
log | ~0.4 | 0.4.22 | up to date |
names | ~0.14 | 0.14.0 | up to date |
openssl ⚠️ | ~0.10 | 0.10.66 | maybe insecure |
paste | ~1.0 | 1.0.15 | up to date |
path-absolutize | ~3.1 | 3.1.1 | up to date |
regex | ~1.10 | 1.10.5 | up to date |
remove_dir_all | ~0.8 | 0.8.3 | up to date |
rhai | ~1.19 | 1.19.0 | up to date |
sanitize-filename | ~0.5 | 0.5.0 | up to date |
semver | ~1.0 | 1.0.23 | up to date |
serde | ~1.0 | 1.0.204 | up to date |
tempfile | ~3.10 | 3.10.1 | up to date |
thiserror | ~1.0 | 1.0.63 | up to date |
time | ~0.3 | 0.3.36 | up to date |
toml | ~0.8 | 0.8.16 | up to date |
walkdir | ~2.5 | 2.5.0 | up to date |
(5 total, 1 outdated)
Crate | Required | Latest | Status |
---|---|---|---|
assert_cmd | ~2.0 | 2.0.15 | up to date |
bstr | ~1.9 | 1.10.0 | out of date |
indoc | ~2.0 | 2.0.5 | up to date |
predicates | ~3.1 | 3.1.2 | up to date |
url | ~2.5 | 2.5.2 | up to date |
openssl
: `MemBio::get_buf` has undefined behavior with empty buffersPreviously, MemBio::get_buf
called slice::from_raw_parts
with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.