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 keepass-db

Dependencies

(26 total, 7 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 byteorder^1.4.31.5.0up to date
 uuid^1.4.11.16.0up to date
 ring ⚠️^0.16.200.17.14out of date
 rpassword^7.2.07.3.1up to date
 openssl ⚠️^0.10.570.10.72maybe insecure
 flate2^1.0.271.1.1up to date
 sxd-document^0.3.20.3.2up to date
 sxd-xpath^0.4.20.4.2up to date
 base64^0.21.40.22.1out of date
 chrono^0.4.300.4.40up to date
 hex^0.4.30.4.3up to date
 rust-argon2^2.0.02.1.0up to date
 argon2-kdf^1.3.01.5.4up to date
 argon2^0.5.20.5.3up to date
 chacha20^0.9.10.9.1up to date
 log^0.4.200.4.27up to date
 env_logger^0.10.00.11.8out of date
 rand^0.8.50.9.1out of date
 clap^4.4.24.5.36up to date
 xml-rs^0.8.180.8.26up to date
 num-derive^0.4.00.4.2up to date
 num-traits^0.2.160.2.19up to date
 salsa20^0.10.20.10.2up to date
 hex-literal^0.4.11.0.0out of date
 derive-getters^0.3.00.5.0out of date
 generic-array^0.14.71.2.0out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tempfile^3.8.03.19.1up to date

Crate keepass-db-derive

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 change-case^0.2.00.2.0up to date
 proc-macro2^1.0.661.0.95up to date
 quote^1.0.331.0.40up to date
 syn^2.0.312.0.100up to date
 xml-rs^0.8.180.8.26up to date

Security Vulnerabilities

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.