Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829307 (CVE-2021-40826, CVE-2021-40827) - media-sound/clementine: multiple vulnerabilities
Summary: media-sound/clementine: multiple vulnerabilities
Status: RESOLVED INVALID
Alias: CVE-2021-40826, CVE-2021-40827
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL:
Whiteboard: B2 [upstream?]
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-12-15 23:58 UTC by John Helmert III
Modified: 2022-09-14 06:09 UTC (History)
4 users (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 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-12-15 23:58:36 UTC
CVE-2021-40826 (https://voidsec.com/advisories/cve-2021-40826/):

Clementine Music Player through 1.3.1 is vulnerable to a User Mode Write Access Violation, affecting the MP3 file parsing functionality at clementine+0x3aa207. The vulnerability is triggered when the user opens a crafted MP3 file or loads a remote stream URL that is mishandled by Clementine. Attackers could exploit this issue to cause a crash (DoS) of the clementine.exe process or achieve arbitrary code execution in the context of the current logged-in Windows user.

CVE-2021-40827 (https://voidsec.com/advisories/cve-2021-40827/):

Clementine Music Player through 1.3.1 (when a GLib 2.0.0 DLL is used) is vulnerable to a Read Access Violation on Block Data Move, affecting the MP3 file parsing functionality at memcpy+0x265. The vulnerability is triggered when the user opens a crafted MP3 file or loads a remote stream URL that is mishandled by Clementine. Attackers could exploit this issue to cause a crash (DoS) of the clementine.exe process or achieve arbitrary code execution in the context of the current logged-in Windows user.


The reporter evidently didn't even test with debug symbols or provide
reproducers so can't tell if we're affected.
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 01:53:46 UTC
According to DarthGandalf on the Github PR, "The security bug affects only the windows build because it uses an old dependency in the installer. It probably can be closed already, but with the new release we can be 100% sure the old dependency is not there anymore"
Comment 2 Larry the Git Cow gentoo-dev 2022-09-14 06:09:16 UTC
The bug has been referenced in the following commit(s):

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

commit dda6c61790f0781c8954410f0085dacfa2abd21a
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2022-08-21 22:10:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-14 06:08:46 +0000

    media-sound/clementine: version 1.4.0_rc2
    
    Closes: https://bugs.gentoo.org/865939
    Bug: https://bugs.gentoo.org/829307
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Closes: https://github.com/gentoo/gentoo/pull/26952
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-sound/clementine/Manifest                    |   1 +
 media-sound/clementine/clementine-1.4.0_rc2.ebuild | 164 +++++++++++++++++++++
 media-sound/clementine/clementine-9999.ebuild      |  40 ++---
 3 files changed, 180 insertions(+), 25 deletions(-)