CVE-2024-0911 Indent: heap-based buffer overflow in set_buf_break()

Medium 5.5 Published Updated

An attacker can cause a denial of service by tricking a user into processing a specially crafted file with the indent tool.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-0911?

CVE-2024-0911 is a medium-severity memory corruption vulnerability in gnu:indent, published on 6 Feb 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in indent, a program for formatting C code. This issue may allow an attacker to trick a user into processing a specially crafted file to trigger a heap-based buffer overflow, causing the application to crash.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2024-0911?

It affects 1 product.

Linux distribution packages (4)
indent SUSE:Linux Enterprise Module for Development Tools 15 SP5All versions2.2.11-150000.3.9.1
indent SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.2.10-38.9.1
indent openSUSE:Leap 15.5All versions2.2.11-150000.3.9.1
indent openSUSE:TumbleweedAll versions2.2.13-3.1

Products include Gnu Indent.

How do I fix CVE-2024-0911?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-0911 being exploited?

There is no known exploitation of CVE-2024-0911 in the wild and no public exploit code.

Sources

Also known as AZL-57656, DEBIAN-CVE-2024-0911, GHSA-ppj5-c4cc-c277, MGASA-2024-0122, OESA-2024-1199, SUSE-SU-2024:0965-1 and 3 more.

Is CVE-2024-0911 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free