From e098832fc75baa8690ff5302b41db46ef9c44385 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:36:23 +0000 Subject: [PATCH] Publish GHSA-q445-7m23-qrmw --- .../GHSA-q445-7m23-qrmw.json | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 advisories/github-reviewed/2024/07/GHSA-q445-7m23-qrmw/GHSA-q445-7m23-qrmw.json diff --git a/advisories/github-reviewed/2024/07/GHSA-q445-7m23-qrmw/GHSA-q445-7m23-qrmw.json b/advisories/github-reviewed/2024/07/GHSA-q445-7m23-qrmw/GHSA-q445-7m23-qrmw.json new file mode 100644 index 00000000000..5ba6be89f84 --- /dev/null +++ b/advisories/github-reviewed/2024/07/GHSA-q445-7m23-qrmw/GHSA-q445-7m23-qrmw.json @@ -0,0 +1,73 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-q445-7m23-qrmw", + "modified": "2024-07-22T17:34:53Z", + "published": "2024-07-22T17:34:53Z", + "aliases": [ + + ], + "summary": "openssl's `MemBio::get_buf` has undefined behavior with empty buffers", + "details": "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.\n", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L" + }, + { + "type": "CVSS_V4", + "score": "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "openssl" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.10.66" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/sfackler/rust-openssl/pull/2266" + }, + { + "type": "WEB", + "url": "https://github.com/sfackler/rust-openssl/commit/aef36e0f3950653148d6644309ee41ccf16e02bb" + }, + { + "type": "PACKAGE", + "url": "https://github.com/sfackler/rust-openssl" + }, + { + "type": "WEB", + "url": "https://github.com/sfackler/rust-openssl/releases/tag/openssl-v0.10.66" + }, + { + "type": "WEB", + "url": "https://rustsec.org/advisories/RUSTSEC-2024-0357.html" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-476" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-07-22T17:34:53Z", + "nvd_published_at": null + } +} \ No newline at end of file