GLSA 202310-10: libcue: Arbitrary Code Execution

Severity:high
Title:libcue: Arbitrary Code Execution
Date:10/10/2023
Bugs: #915500
ID:202310-10

Synopsis

A vulnerability has been discovered in libcue which could allow for arbitrary code execution.

Background

libcue is a CUE Sheet Parser Library.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/libcue < 2.2.1-r1 >= 2.2.1-r1 All supported architectures

Description

libcue does not check bounds in a loop and suffers from an integer overflow flaw which can be exploited to take over the program.

Impact

Untrusted CUE sheet files can lead to arbitrary code execution. app-misc/tracker-miners[cue] uses libcue to index CUE Sheet files in directories. It is possible that downloading a malicious CUE Sheet file into a directory indexed by tracker-miners could lead to remote code execution.

Workaround

There is no known workaround at this time.

Resolution

All libcue users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=media-libs/libcue-2.2.1-r1"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202310-10.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!