CVE-2024-0684 Coreutils: heap overflow in split --line-bytes with very long lines
A heap overflow in GNU coreutils split command allows attackers to cause a denial of service via crafted long lines.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-0684?
CVE-2024-0684 is a medium-severity memory corruption vulnerability in gnu:coreutils, published on 6 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in the GNU coreutils "split" program. A heap overflow with user-controlled data of multiple hundred bytes in length could occur in the line_bytes_split() function, potentially leading to an application crash and denial of service.
Which versions are affected by CVE-2024-0684?
It affects 1 product.
Linux distribution packages (1)
coreutils openSUSE:Tumbleweed | All versions | 9.4-3.1 |
Products include Gnu Coreutils.
How do I fix CVE-2024-0684?
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-0684 being exploited?
There is no known exploitation of CVE-2024-0684 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in gnu:coreutils
Sources
Also known as ALPINE-CVE-2024-0684, AZL-34629, BELL-CVE-2024-0684, DEBIAN-CVE-2024-0684, GHSA-p8pq-6r4w-c75v, openSUSE-SU-2024:13618-1.