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
Alias: CVE-2023-30630
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa?]
Depends on:
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: ---


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

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:

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):

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

    sys-apps/dmidecode: ebuild cleanup
    Signed-off-by: Robin H. Johnson <>

 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(-)