Security mailing lists by PureSourceCode

GHSA-2wq5-g96f-mv3v

MEDIUM

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.

Published
22 Sep 2024
Last modified
28 Oct 2025
Also known as
RUSTSEC-2024-0374
Sources
OSVJSONOSV RUSTSEC-2024-0374JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io ouch < 0.3.1 0.3.1
OSV crates.io ouch >= 0.0.0-0, < 0.3.2-0 0.3.2-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Sep 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.