4.8medium
ouch-org ouch zip.rs convert_zip_date_time memory corruption
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-6xfj-hhwh-r3c2
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ouch-org ouch | 0.3.0, 0.3.1 | CVE List |
| ouch (crates.io) | before 0.4.0 | GitHub Advisory Database |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulDB | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 5.3medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDB | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
CVE List (de)
Es wurde eine Schwachstelle in ouch-org ouch bis 0.3.1 ausgemacht. Sie wurde als kritisch eingestuft. Es betrifft die Funktion ouch::archive::zip::convert_zip_date_time der Datei zip.rs. Mittels Manipulieren des Arguments month mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 0.4.0 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
NVD (es)
Se encontró una vulnerabilidad en ouch-org ouch hasta la versión 0.3.1. Se ha clasificado como crítica. Afecta a la función ouch::archive::zip::convert_zip_date_time del archivo zip.rs. La manipulación del argumento "month" provoca corrupción de memoria. El ataque debe abordarse localmente. Se ha hecho público el exploit y puede que sea utilizado. Actualizar a la versión 0.4.0 puede solucionar este problema. Se recomienda actualizar el componente afectado.
References
| https://vuldb.com/?id.302055 | technical-description, vdb-entry, web | |
| https://vuldb.com/?ctiid.302055 | permissions-required, signature, web | |
| https://vuldb.com/?submit.524511 | third-party-advisory, web | |
| https://github.com/ouch-org/ouch/issues/707 | exploit, issue-tracking, web | |
| https://github.com/rustsec/advisory-db/pull/2084/files | issue-tracking, web | |
| https://github.com/user-attachments/files/16767988/ouch.crash.report.docx | exploit, web | |
| https://github.com/ouch-org/ouch/releases/tag/0.4.0 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-13941 | advisory | |
| https://github.com/ouch-org/ouch | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-13941 changed 2025-04-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6xfj-hhwh-r3c2 changed 2025-04-02 | CC-BY-4.0 |
| NVD | CVE-2024-13941 changed 2026-06-17 | Public domain |