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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | coreutils | 9.4-r2 | ALPINE-CVE-2024-0684 |
| Alpine:v3.21 | coreutils | 9.4-r2 | ALPINE-CVE-2024-0684 |
| Alpine:v3.22 | coreutils | 9.4-r2 | ALPINE-CVE-2024-0684 |
| Alpine:v3.23 | coreutils | 9.4-r2 | ALPINE-CVE-2024-0684 |
| Alpine:v3.24 | coreutils | 9.4-r2 | ALPINE-CVE-2024-0684 |
| Debian:13 | coreutils | 9.5-1 | DEBIAN-CVE-2024-0684 |
| Debian:14 | coreutils | 9.5-1 | DEBIAN-CVE-2024-0684 |
| Ubuntu:24.04:LTS | coreutils | 9.4-2ubuntu3 | UBUNTU-CVE-2024-0684 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2024-0684 vdb-entry, x_refsource_REDHAT
- RHBZ#2258948 issue-tracking, x_refsource_REDHAT
- https://www.openwall.com/lists/oss-security/2024/01/18/2
- https://security.netapp.com/advisory/ntap-20240808-0001/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KAURFJIEYY2BWCPN4AZDYCVMFD5J4GB/
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html