Security mailing lists by PureSourceCode

GHSA-q445-7m23-qrmw

MEDIUM 6.5CVSS 3.1

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.

Published
21 Jul 2024
Last modified
10 Sep 2026
Weakness
CWE-476
Also known as
RUSTSEC-2024-0357
Sources
OSVJSONOSV RUSTSEC-2024-0357JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.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
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io openssl < 0.10.66 0.10.66
OSV crates.io openssl >= 0.0.0-0, < 0.10.66 0.10.66

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.