Advisory

GHSA-3qx3-6hxr-j2ch

Also known as: CVE-2024-25817

Summary

eza Potential Heap Overflow Vulnerability for AArch64

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-02-08 18:47 UTC
Modified
2026-03-13 22:01 UTC

Affected packages and fixes

eza

crates.io · All systems

Affected

  • introduced 0, fixed 0.18.2 (semver)

Fixed versions

0.18.2

Fix

  • Fixed version 0.18.2
    cargo update -p eza --precise 0.18.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences