RUSTSEC-2024-0368 on 2024-09-02: olm-sys: wrapped library unmaintained, potentially vulnerable

After several cryptographic vulnerabilities in libolm were disclosed publicly, the Matrix Foundation has officially deprecated the library. olm-sys is a thin wrapper around libolm and is now deprecated and potentially vulnerable in kind.

Users of olm-sys and its higher-level abstraction, olm-rs, are highly encouraged to switch to vodozemac as soon as possible. It is the successor effort to libolm and is written in Rust.

https://matrix.org/blog/2024/08/libolm-deprecation/

This crate has no reviews yet. To add a review, set up your cargo-crev.


Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository with a git tag matching the version. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.

Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.

To review the actual code of the crate, it's best to use cargo crev open olm-sys. Alternatively, you can download the tarball of olm-sys v1.3.2 or view the source online.

The crate tarball contains, among others, these files:

  • Windows DLL, 130KB: olm/lib/ed25519/ed25519_32.dll
  • Windows DLL, 115KB: olm/lib/ed25519/ed25519_64.dll
  • JAR file, 54KB: olm/android/gradle/wrapper/gradle-wrapper.jar