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 gix-revision

Dependencies

(10 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bstr^1.3.01.12.1up to date
 document-features^0.2.10.2.12up to date
 gix-date ⚠️^0.8.40.15.1out of date
 gix-hash^0.14.10.23.0out of date
 gix-hashtable^0.5.10.13.0out of date
 gix-object^0.41.10.58.0out of date
 gix-revwalk^0.12.00.29.0out of date
 gix-trace^0.1.70.1.18up to date
 serde^1.0.1141.0.228up to date
 thiserror^1.0.262.0.18out of date

Security Vulnerabilities

gix-date: Non-utf8 String can be created with `TimeBuf::as_str`

RUSTSEC-2025-0140

The function gix_date::parse::TimeBuf::as_str can create an illegal string containing non-utf8 characters. This violates the safety invariant of TimeBuf and can lead to undefined behavior when consuming the string.

The bug can be prevented by adding str::from_utf8 to the function TimeBuf::write.