Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922474 (CVE-2024-0684) - <sys-apps/coreutils-9.4-r1: split heap buffer overflow vulnerability
Summary: <sys-apps/coreutils-9.4-r1: split heap buffer overflow vulnerability
Status: IN_PROGRESS
Alias: CVE-2024-0684
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://www.openwall.com/lists/oss-se...
Whiteboard: A2 [glsa cleanup]
Keywords:
Depends on: 926980
Blocks:
  Show dependency tree
 
Reported: 2024-01-19 08:58 UTC by Sam James
Modified: 2024-05-25 07:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-19 08:58:25 UTC
See https://www.openwall.com/lists/oss-security/2024/01/18/2.

Patch at https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=c4c5ed8f4e9cd55a12966d4f520e3a13101637d9.

"""
A proof-of-concept file to trigger the crash is available under 
https://github.com/Valentin-Metz/writeup_split/blob/main/split_me
You can use it to trigger a segmentation fault (SIGABRT) in split, using 
"split -C 1024 ./split_me".
A detailed writeup will follow once distro maintainers have had some 
time to distribute a fix.
"""
Comment 1 Larry the Git Cow gentoo-dev 2024-01-30 20:49:22 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00b339a42285e269063b7cdecb9d5e726ee2bf7

commit f00b339a42285e269063b7cdecb9d5e726ee2bf7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-30 20:22:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-30 20:49:09 +0000

    sys-apps/coreutils: patch CVE-2024-0684
    
    Bug: https://bugs.gentoo.org/922474
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/coreutils/coreutils-9.4-r1.ebuild         | 273 +++++++++++++++++++++
 .../files/coreutils-9.4-CVE-2024-0684.patch        |  31 +++
 2 files changed, 304 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-25 07:12:00 UTC
I'm avoiding cleaning up 8.32 (still!) because of all the ZFS bugs with CoW, as it's been useful for people to be able to downgrade to it. But 9.4 can go.