8.4high
eza Potential Heap Overflow Vulnerability for AArch64
- Severity
- 8.4high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-3qx3-6hxr-j2ch
Description
Buffer Overflow vulnerability in eza before version 0.18.2, allows local attackers to execute arbitrary code via the .git/HEAD, .git/refs, and .git/objects components.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| eza eza | before 0.18.2 | CVE List |
| eza (crates.io) | before 0.18.2 | GitHub Advisory Database |
| eza.rock eza | before 0.18.2 | NVD |
All scores
| CISA-ADP | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Buffer Overflow vulnerability in eza before version 0.18.2, allows local attackers to execute arbitrary code via the .git/HEAD, .git/refs, and .git/objects components.
GitHub Advisory Database
Summary
In eza, there exists a potential heap overflow vulnerability, first seen when using Ubuntu for Raspberry Pi series system, on ubuntu-raspi kernel, relating to the .git directory.
Details
The vulnerability seems to be triggered by the .git directory in some projects. This issue may be related to specific files, and the directory structure also plays a role in triggering the vulnerability. Files/folders that may be involved in triggering the vulnerability include .git/HEAD, .git/refs, and .git/objects.
As @polly pointed out to me, this is likely caused by GHSA-j2v7-4f6v-gpg8, which we do seem to use currently.
PoC
For more information check @CuB3y0nd's blogpost blog.
Impact
Arbitrary code execution.
NVD (es)
Vulnerabilidad de desbordamiento de búfer en eza anterior a la versión 0.18.2, permite a atacantes locales ejecutar código arbitrario a través de los componentes .git/HEAD, .git/refs y .git/objects.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-25817 changed 2024-08-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3qx3-6hxr-j2ch changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2024-25817 changed 2026-06-17 | Public domain |