- Reported
-
- Issued
-
- Package
-
ouch
(crates.io)
- Type
-
Vulnerability
- Categories
-
- References
-
- Patched
-
- Affected Functions
- Version
ouch::archive::zip::convert_zip_date_time
-
Description
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.
Advisory available under CC0-1.0
license.