Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. ouch
  4. ›
  5. CVE-2024-13941

CVE-2024-13941: Ouch Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability

April 1, 2025 (updated April 2, 2025)

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.

References

  • github.com/advisories/GHSA-6xfj-hhwh-r3c2
  • github.com/ouch-org/ouch
  • github.com/ouch-org/ouch/issues/707
  • github.com/ouch-org/ouch/releases/tag/0.4.0
  • github.com/rustsec/advisory-db/pull/2084/files
  • github.com/user-attachments/files/16767988/ouch.crash.report.docx
  • nvd.nist.gov/vuln/detail/CVE-2024-13941
  • vuldb.com/?ctiid.302055
  • vuldb.com/?id.302055
  • vuldb.com/?submit.524511

Code Behaviors & Features

Detect and mitigate CVE-2024-13941 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

cargo/ouch/CVE-2024-13941.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:15:26 +0000.