ouch
Affected
- introduced
0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1cargo update -p ouch --precise 0.3.1
Advisory
Also known as: RUSTSEC-2024-0374
Ouch! allows a segmentation fault due to use of uninitialized memory
When trying to decompress a file using "ouch", we can reach the function "ouch::archive::zip::convert_zip_date_time". In the function, there is a unsafe function, "transmute". Once the "transmute" function is called to convert the type of "month" object, the address of the object is changed to the uninitialized memory region. After that, when other function tries to dereference "month", segmentation fault occurs.
Medium Basis: The source's own band: MODERATE
0, fixed 0.3.1 (semver)0.3.1
0.3.1cargo update -p ouch --precise 0.3.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0