RustSec Advisory Database
RUSTSEC-2023-0011
Invalid pointer dereference in `d2i_PKCS7` functions
Details
An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the d2i_PKCS7(), d2i_PKCS7_bio() or d2i_PKCS7_fp() functions.
The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | openssl-src | From 300.0.0 before 300.0.12 (fixed in 300.0.12) |