GHSA-2wq5-g96f-mv3v Segmentation fault due to use of uninitialized memory
An attacker can cause a segmentation fault and denial of service by providing a crafted zip file to the ouch library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-2wq5-g96f-mv3v?
GHSA-2wq5-g96f-mv3v is a memory corruption vulnerability in ouch, published on 22 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Which versions are affected by GHSA-2wq5-g96f-mv3v?
3 open source packages ship an affected version, including ouch.
| Package | Affected | Fixed in |
|---|---|---|
ouch crates.io | All versions | 0.3.1 |
ouch crates.io | All versions | 0.3.1 |
ouch crates.io | From 0.0.0-0 | 0.3.2-0 |
How do I fix GHSA-2wq5-g96f-mv3v?
Upgrade ouch to a fixed version for your release line: 0.3.1 or 0.3.2-0.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GHSA-2wq5-g96f-mv3v being exploited?
There is no known exploitation of GHSA-2wq5-g96f-mv3v in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2024-0374.