Advisory

GHSA-6xfj-hhwh-r3c2

Also known as: CVE-2024-13941

Summary

Ouch Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability

Details

A vulnerability was found in ouch-org ouch up to 0.3.1. It has been classified as critical. This affects the function ouch::archive::zip::convert_zip_date_time of the file zip.rs. The manipulation of the argument month leads to memory corruption. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 0.4.0 is able to address this issue. It is recommended to upgrade the affected component.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-01 21:31 UTC
Modified
2025-04-02 01:27 UTC

Affected packages and fixes

ouch

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

  • Fixed version 0.4.0
    cargo update -p ouch --precise 0.4.0

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences