CVE-2021-45686: Use of Uninitialized Resource in csv-sniffer.
(updated )
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.
References
- github.com/advisories/GHSA-9783-42pm-x5jq
- github.com/jblondin/csv-sniffer
- github.com/jblondin/csv-sniffer/issues/1
- github.com/jblondin/csv-sniffer/pull/2
- nvd.nist.gov/vuln/detail/CVE-2021-45686
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/csv-sniffer/RUSTSEC-2021-0088.md
- rustsec.org/advisories/RUSTSEC-2021-0088.html
Detect and mitigate CVE-2021-45686 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →