GHSA-q445-7m23-qrmw openssl's `MemBio::get_buf` has undefined behavior with empty buffers
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- OpenSSL
Description
Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io openssl(crates.io) | < 0.10.66; >= 0.0.0-0, < 0.10.66 | 0.10.66 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io openssl(crates.io) | < 0.10.66 | 0.10.66 |
| crates.io openssl(crates.io) | >= 0.0.0-0, < 0.10.66 | 0.10.66 |
References
- github.com patch
- github.com patch
- github.com product
- github.com
- rustsec.org vendor-advisory
- crates.io product
- github.com