{"id":"CVE-2024-25817","aliases":["CVE-2024-25817","GHSA-3qx3-6hxr-j2ch"],"related":[],"kind":"vulnerability","state":"published","title":"eza Potential Heap Overflow Vulnerability for AArch64","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nIn `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.\n\n### Details\nThe 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`.\n\nAs @polly pointed out to me, this is likely caused by [GHSA-j2v7-4f6v-gpg8](https://github.com/libgit2/libgit2/security/advisories/GHSA-j2v7-4f6v-gpg8), which we do seem to use currently.\n\n### PoC\nFor more information check @CuB3y0nd's blogpost [blog](https://www.cubeyond.net/blog/eza-cve-report).\n\n### Impact\nArbitrary code execution.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-02-08T18:47:28.000Z","modified":"2026-06-17T07:16:33.990Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.18.2","status":"affected"}],"vendor":"eza","product":"eza","cpe":"cpe:2.3:a:eza:eza:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.18.2"}],"ecosystem":"crates.io","package":"eza","purl":"pkg:cargo/eza","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.18.2"}],"vendor":"eza.rock","product":"eza","cpe":"cpe:2.3:a:eza.rock:eza:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/advisories/GHSA-3qx3-6hxr-j2ch","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.cubeyond.net/blog/my-cves/eza-cve-report","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/eza-community/eza/security/advisories/GHSA-3qx3-6hxr-j2ch","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eza-community/eza/commit/47c9b90368c49117ba42760bd58acafa3362cbd4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eza-community/eza","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-08-08T19:13:53.231Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-25817","url":"https://www.cve.org/CVERecord?id=CVE-2024-25817","licence":"CVE Terms of Use","modified":"2024-08-08T20:39:42.193Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3qx3-6hxr-j2ch","url":"https://github.com/advisories/GHSA-3qx3-6hxr-j2ch","licence":"CC-BY-4.0","modified":"2026-03-13T22:01:16.158Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-25817","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25817","licence":"Public domain","modified":"2026-06-17T07:16:33.990Z"}],"updatedAt":"2026-11-25T22:58:37.288Z","epss":{"score":0.00267,"percentile":0.20082,"date":"2026-12-01T12:00:22.000Z"}}