GHSA-2wq5-g96f-mv3v – ouch
Package
Manager: cargo
Name: ouch
Vulnerable Version: >=0 <0.3.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
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.
Metadata
Created: 2024-09-23T20:47:27Z
Modified: 2024-09-23T20:47:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-2wq5-g96f-mv3v/GHSA-2wq5-g96f-mv3v.json
CWE IDs: []
Alternative ID: N/A
Finding: F138
Auto approve: 1