logo

GHSA-q445-7m23-qrmw openssl

Package

Manager: cargo
Name: openssl
Vulnerable Version: >=0 <0.10.66

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

openssl's `MemBio::get_buf` has undefined behavior with empty buffers 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.

Metadata

Created: 2024-07-22T17:34:53Z
Modified: 2024-07-22T17:34:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-q445-7m23-qrmw/GHSA-q445-7m23-qrmw.json
CWE IDs: ["CWE-476"]
Alternative ID: N/A
Finding: F002
Auto approve: 1