Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905093 (CVE-2023-30630) - <sys-apps/dmidecode-3.5: root privilege escalation via file overwrite
Summary: <sys-apps/dmidecode-3.5: root privilege escalation via file overwrite
Status: CONFIRMED
Alias: CVE-2023-30630
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: https://github.com/adamreiser/dmiwrite
Whiteboard: B2 [glsa?]
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 02:59 UTC by John Helmert III
Modified: 2023-10-03 06:26 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 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-26 02:59:23 UTC
CVE-2023-30630:

Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible.

Admittedly needs sudo to get privesc, so down to 2. Patches in 3.5:

https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=d8cfbc808f387e87091c25e7d5b8c2bb348bb206
https://git.savannah.nongnu.org/cgit/dmidecode.git/commit/?id=6ca381c1247c81f74e1ca4e7706f70bdda72e6f2

Please cleanup <3.5.
Comment 1 Hans de Graaff gentoo-dev Security 2023-10-02 11:34:58 UTC
Ping. Any reason we need to keep dmidecode 3.4-r1 around?
Comment 2 Larry the Git Cow gentoo-dev 2023-10-02 21:42:06 UTC
The bug has been referenced in the following commit(s):

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

commit 7f5f3e60e178525ce96d7a7ae964f9164ab03c18
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2023-10-02 21:41:27 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2023-10-02 21:41:47 +0000

    sys-apps/dmidecode: ebuild cleanup
    
    Bug: https://bugs.gentoo.org/905093
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 sys-apps/dmidecode/Manifest                |  1 -
 sys-apps/dmidecode/dmidecode-3.4-r1.ebuild | 47 ------------------------------
 sys-apps/dmidecode/dmidecode-3.5-r1.ebuild | 47 ------------------------------
 3 files changed, 95 deletions(-)