CVE-2021-45686 Use of Uninitialized Resource in csv-sniffer.

Critical 9.8 Published Updated

Attackers can read uninitialized memory via the csv-sniffer crate, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-45686?

CVE-2021-45686 is a critical vulnerability in n/a, published on 26 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the csv-sniffer crate through 2021-01-05 for Rust. preamble_skipcount may read from uninitialized memory locations.

Weakness: CWE-908

Which versions are affected by CVE-2021-45686?

5 open source packages ship an affected version, including csv-sniffer. It affects 1 product.

PackageAffectedFixed in
csv-sniffer crates.ioAll versions0.2.0
csv-sniffer crates.ioAll versions0.2.0
csv-sniffer crates.ioAll versions0.2.0
csv-sniffer crates.ioAll versions0.2.0
csv-sniffer crates.ioFrom 0.0.0-00.2.0

Products include Csv-Sniffer Project Csv-Sniffer.

How do I fix CVE-2021-45686?

Upgrade csv-sniffer to 0.2.0 or later.

Is CVE-2021-45686 being exploited?

There is no known exploitation of CVE-2021-45686 in the wild and no public exploit code.

Sources

Also known as GHSA-9783-42pm-x5jq, GHSA-r67p-m7g9-gxw6, RUSTSEC-2021-0088.

Is CVE-2021-45686 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free