This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate notify-rust


(10 total, 1 insecure, 1 possibly insecure)

 dbus^ to date
 image ⚠️^ insecure
 lazy_static^11.4.0up to date
 serde^11.0.130up to date
 zbus^11.9.2up to date
 zvariant^22.10.0up to date
 zvariant_derive^22.10.0up to date
 chrono ⚠️^
 mac-notification-sys^ to date
 winrt-notification^ to date

Dev dependencies

(3 total, all up-to-date)

 color-backtrace^ to date
 ctor^ to date
 maplit^ to date

Security Vulnerabilities

image: Mutable reference with immutable provenance


A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.

There is no evidence for miscompilation, exploitable or otherwise, caused by this bug. Further investigation on Zulip suggests that the unoptimized generated LLVM IR does not contain any UB itself, effectively mitigating further effects.

chrono: Potential segfault in `localtime_r` invocations



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.


No workarounds are known.