Skip to content

eza Potential Heap Overflow Vulnerability for AArch64

High severity GitHub Reviewed Published Feb 8, 2024 in eza-community/eza • Updated Mar 6, 2024

Package

cargo eza (Rust)

Affected versions

< 0.18.2

Patched versions

0.18.2

Description

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.

References

@cafkafk cafkafk published to eza-community/eza Feb 8, 2024
Published to the GitHub Advisory Database Feb 8, 2024
Reviewed Feb 8, 2024
Last updated Mar 6, 2024

Severity

High
8.4
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

No CWEs

CVE ID

CVE-2024-25817

GHSA ID

GHSA-3qx3-6hxr-j2ch

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.