{"id":"CVE-2024-25817","aliases":["DEBIAN-CVE-2024-25817","EUVD-2024-0491","GHSA-3qx3-6hxr-j2ch","UBUNTU-CVE-2024-25817"],"status":"published","title":"eza Potential Heap Overflow Vulnerability for AArch64","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00267,"percentile":0.19004,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2024-02-08T18:47:28Z","modified":"2026-11-02T12:01:02Z","fixes":[{"ecosystem":"crates.io","package":"eza","fixed_in":["0.18.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"rust-eza","fixed_in":["0.18.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-eza","fixed_in":["0.18.2-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"eza","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-eza","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-eza","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"eza","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]}],"products":[{"vendor":"eza","product":"eza"},{"vendor":"eza.rock","product":"eza"}],"references":[{"url":"https://github.com/advisories/GHSA-3qx3-6hxr-j2ch","tags":["x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://www.cubeyond.net/blog/my-cves/eza-cve-report","tags":["x_transferred","Broken Link","article","report"]},{"url":"https://github.com/eza-community/eza/security/advisories/GHSA-3qx3-6hxr-j2ch","tags":["web"]},{"url":"https://github.com/eza-community/eza/commit/47c9b90368c49117ba42760bd58acafa3362cbd4","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-25817","tags":["advisory"]},{"url":"https://github.com/eza-community/eza","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-25817","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-25817","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-25817","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.","status":"published","published":"2024-03-05T00:00:00Z","modified":"2024-08-08T20:39:42.193Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:34:04.341725Z"}],"euvd":[{"id":"EUVD-2024-0491","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.","status":"published","published":"2024-03-05T00:00:00Z","modified":"2024-08-08T20:39:42Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:56:21.131507Z"}],"ghsa":[{"id":"GHSA-3qx3-6hxr-j2ch","title":"eza Potential Heap Overflow Vulnerability for AArch64","description":"### 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.","status":"published","published":"2024-02-08T18:47:28Z","modified":"2024-03-06T15:34:21Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:37:39.730152Z"}],"nvd":[{"id":"CVE-2024-25817","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.","status":"published","published":"2024-03-06T00:15:52.703Z","modified":"2026-06-17T07:16:33.99Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:09:39.488031Z"}],"osv":[{"id":"CVE-2024-25817","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.","status":"published","published":"2024-03-06T00:15:52.703Z","modified":"2026-03-13T22:00:51.391389Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:39.244433Z"},{"id":"DEBIAN-CVE-2024-25817","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.","status":"published","published":"2024-03-06T00:15:52.703Z","modified":"2026-11-02T12:01:02.595431287Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:41.849198Z"},{"id":"GHSA-3qx3-6hxr-j2ch","title":"eza Potential Heap Overflow Vulnerability for AArch64","description":"### 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.","status":"published","published":"2024-02-08T18:47:28Z","modified":"2026-03-13T22:01:16.158945Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"UBUNTU-CVE-2024-25817","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.","status":"withdrawn","published":"2024-03-06T00:15:00Z","modified":"2025-07-16T07:46:59.838793Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:44.862765Z"}]}}
