logo

CVE-2021-45684 flumedb

Package

Manager: cargo
Name: flumedb
Vulnerable Version: >=0 <0.1.6

Severity

Level: Critical

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

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

EPSS: 0.00433 pctl0.6196

Details

Use of Uninitialized Resource in flumedb. Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. There are two of such cases (go_offset_log::read_entry() & offset_log::read_entry()). Arbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.

Metadata

Created: 2022-01-06T22:18:35Z
Modified: 2023-06-13T18:08:03Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-p46c-w9m3-7qr2/GHSA-p46c-w9m3-7qr2.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-p46c-w9m3-7qr2
Finding: F138
Auto approve: 1