rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| rust-openssl | rust-openssl | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Rust-openssl Project | Rust-openssl |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-ghm9-cr32-g9qj | rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length check |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.359% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rust-openssl Project
Rust-openssl Project rust-openssl |
|
| Vendors & Products |
Rust-openssl Project
Rust-openssl Project rust-openssl |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, EVP_DigestFinal() always writes EVP_MD_CTX_size(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digest_final() writes past its end, usually corrupting the stack. This is reachable from safe Rust. This vulnerability is fixed in 0.10.78. | |
| Title | rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check | |
| Weaknesses | CWE-121 | |
| References |
|
|
| Metrics |
cvssV4_0
|