Vulnerability · Published Feb 6, 2024 · Assigned by fedora

CVE-2024-0684Coreutils: heap overflow in split --line-bytes with very long lines

Medium 5.5

In plain English

A medium-severity heap buffer overflow in coreutils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.5%top 57.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20coreutils9.4-r2ALPINE-CVE-2024-0684
Alpine:v3.21coreutils9.4-r2ALPINE-CVE-2024-0684
Alpine:v3.22coreutils9.4-r2ALPINE-CVE-2024-0684
Alpine:v3.23coreutils9.4-r2ALPINE-CVE-2024-0684
Alpine:v3.24coreutils9.4-r2ALPINE-CVE-2024-0684
Debian:13coreutils9.5-1DEBIAN-CVE-2024-0684
Debian:14coreutils9.5-1DEBIAN-CVE-2024-0684
Ubuntu:24.04:LTScoreutils9.4-2ubuntu3UBUNTU-CVE-2024-0684

Affected products (as reported)

VendorProductVersions
coreutils v9.2v9.3v9.4

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References