Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-25817: n/a

0
High
VulnerabilityCVE-2024-25817cvecve-2024-25817
Published: Tue Mar 05 2024 (03/05/2024, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 10:46:02 UTC

Technical Analysis

CVE-2024-25817 is a buffer overflow vulnerability identified in the eza utility, a modern replacement for the 'ls' command used primarily on Unix-like systems. The flaw exists in versions before 0.18.2 and arises from improper bounds checking when processing Git repository metadata files such as .git/HEAD, .git/refs, and .git/objects. These files are integral to Git's internal structure, and improper parsing can lead to memory corruption. An attacker with local access can craft malicious Git repository files that trigger the buffer overflow, enabling arbitrary code execution with the privileges of the eza process. The vulnerability is classified under CWE-120 (Classic Buffer Overflow) and has a CVSS v3.1 score of 8.4, indicating high severity. The attack vector is local (AV:L), requires low attack complexity (AC:L), no privileges (PR:N), and no user interaction (UI:N). The scope is unchanged (S:U), but the impact on confidentiality, integrity, and availability is high (C:H/I:H/A:H). Although no exploits have been observed in the wild, the potential for local privilege escalation or lateral movement in multi-user environments is significant. The vulnerability highlights the risks of parsing untrusted or malformed Git repository data without adequate input validation. Since eza is commonly used by developers and system administrators on Linux and Unix systems, the vulnerability poses a threat primarily in environments where multiple users have local access or where untrusted repositories are processed.

Potential Impact

The impact of CVE-2024-25817 is substantial for organizations using eza on multi-user systems or developer workstations. Exploitation allows local attackers to execute arbitrary code, potentially leading to full system compromise. This can result in unauthorized data access, modification, or deletion, disruption of services, and the establishment of persistent backdoors. In environments where eza is run with elevated privileges or integrated into automated scripts, the risk escalates further. The vulnerability could be leveraged for lateral movement within networks, especially in development or continuous integration environments where Git repositories are frequently accessed. Although the attack requires local access, many organizations have shared systems or developer machines where untrusted users might gain footholds. The lack of known exploits in the wild suggests limited current exploitation, but the high CVSS score and ease of exploitation warrant proactive mitigation. Failure to address this vulnerability could lead to breaches affecting intellectual property, source code integrity, and operational continuity.

Mitigation Recommendations

To mitigate CVE-2024-25817, organizations should immediately upgrade eza to version 0.18.2 or later, where the vulnerability has been addressed. Until patching is possible, restrict local access to systems running eza, especially multi-user environments, to trusted personnel only. Implement strict file system permissions on Git repository directories to prevent unauthorized modification of .git/HEAD, .git/refs, and .git/objects files. Monitor system and application logs for unusual activity related to Git repositories or eza executions. Employ host-based intrusion detection systems (HIDS) to detect anomalous behavior indicative of exploitation attempts. Educate developers and system administrators about the risks of processing untrusted Git repositories and encourage the use of containerized or sandboxed environments for such operations. Review and harden automated scripts or CI/CD pipelines that invoke eza to minimize exposure. Finally, maintain an up-to-date inventory of software versions and apply security updates promptly to reduce the attack surface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-02-12T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d6fb7ef31ef0b57221f

Added to database: 2/25/2026, 9:45:19 PM

Last enriched: 2/26/2026, 10:46:02 AM

Last updated: 4/12/2026, 5:08:27 PM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses