this post was submitted on 09 Oct 2023
68 points (98.6% liked)

Linux

48062 readers
699 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Today, in coordination with Ilya Lipnitskiy (the maintainer of libcue) and the distros mailing list, the GitHub Security Lab is disclosing CVE-2023-43641, a memory corruption vulnerability in libcue. We have also sent a text-only version of this blog post to the oss-security list.

libcue is a library used for parsing cue sheets—a metadata format for describing the layout of the tracks on a CD. Cue sheets are often used in combination with the FLAC audio file format, which means that libcue is a dependency of some audio players, such as Audacious. But the reason why I decided to audit libcue for security vulnerabilities is that it’s used by tracker-miners: an application that’s included with GNOME—the default graphical desktop environment of many open source operating systems. The purpose of tracker-miners is to index the files in your home directory to make them easily searchable.

To make a long story short, that means that inadvertently clicking a malicious link is all it takes for an attacker to exploit CVE-2023-43641 and get code execution on your computer.

The offsets in the full PoC need to be tuned for different distributions. I have only done this for Ubuntu 23.04 and Fedora 38, the most recent releases of Ubuntu and Fedora at this time. In my testing, I have found that the PoC works very reliably when run on the correct distribution (and will trigger a SIGSEGV when run on the wrong distribution). I have not created PoCs for any other distributions, but I believe that all distributions that run GNOME are potentially exploitable.

Sometimes a vulnerability in a seemingly innocuous library can have a large impact. Due to the way that it’s used by tracker-miners, this vulnerability in libcue became a 1-click RCE. If you use GNOME, please update today!

top 6 comments
sorted by: hot top controversial new old
[–] QuazarOmega@lemy.lol 14 points 1 year ago

Nice to see they sometimes get involved to help in other projects, didn't know they had a division just for this purpose

[–] dparticiple@sh.itjust.works 8 points 1 year ago (2 children)

404 on CVE URL. Thanks for the post.

[–] EccTM@lemmy.ml 4 points 1 year ago (1 children)

The link in the first paragraph of the blog post? I think they removed it because libcue has since been patched.

[–] sim642@lemm.ee 11 points 1 year ago (1 children)

Releasing a patch doesn't make the CVE disappear.

[–] EccTM@lemmy.ml 2 points 1 year ago

I understand that, but I think they removed the security advisory that was previously attached to the libcue GitHub (that's where that CVE link in the post's first paragraph went) because the latest commits to the repo patched that vulnerability.