logo

CVE-2021-45686 csv-sniffer

Package

Manager: cargo
Name: csv-sniffer
Vulnerable Version: >=0 <0.2.0

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 csv-sniffer. Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation (within fn preamble_skipcount()). 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:13:58Z
Modified: 2023-06-13T17:22:23Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-9783-42pm-x5jq/GHSA-9783-42pm-x5jq.json
CWE IDs: ["CWE-908"]
Alternative ID: GHSA-9783-42pm-x5jq
Finding: F138
Auto approve: 1