• [gentoo-announce] [ GLSA 202305-14 ] uptimed: Root Privilege Escalation

    From glsamaker@gentoo.org@21:1/5 to All on Wed May 3 12:20:01 2023
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 202305-14
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    https://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Severity: High
    Title: uptimed: Root Privilege Escalation
    Date: May 03, 2023
    Bugs: #630810
    ID: 202305-14

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Synopsis
    ========

    A vulnerability has been discovered in uptimed which could result in
    root privilege escalation.

    Background
    ==========

    uptimed is a system uptime record daemon that keeps track of your
    highest uptimes.

    Affected packages
    =================

    -------------------------------------------------------------------
    Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
    1 app-misc/uptimed < 0.4.6-r1 >= 0.4.6-r1

    Description
    ===========

    Via unnecessary file ownership modifications in the pkg_postinst ebuild
    phase, the uptimed user could change arbitrary files to be owned by the
    uptimed user at emerge-time.

    Impact
    ======

    The uptimed user could achieve root privileges when the uptimed package
    is emerged.

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All uptimed users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-misc/uptimed-0.4.6-r1"

    References
    ==========

    [ 1 ] CVE-2020-36657
    https://nvd.nist.gov/vuln/detail/CVE-2020-36657

    Availability
    ============

    This GLSA and any updates to it are available for viewing at
    the Gentoo Security Website:

    https://security.gentoo.org/glsa/202305-14

    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 2023 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.

    https://creativecommons.org/licenses/by-sa/2.5
    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmRSMXIACgkQFMQkOaVy +9mchg/+NSy9Fjx6PwB5y0ZyshBF/sP8FD+HgBRWjQIKI8k4cIZOCkVFKFPs4099 UjsaO8YNFnYzPTRQF0DLg2sZ1HxOrRaeKM16R965gNnqWFeblDSCqpGgfe2PORvR 8c1MrqABvhrt6oOyBBymjqr+S50gkxDKPAVmf8xwhUJNj7cVp4ubirone6kvBx67 MtDIuxSO3YMe9Z55X4lMcOP2uGKexHeqSxqM9r/4WwGz7OQ5LsNHr6ejZrzI12X1 1JqBay1MaTQ5WQQ0zWvm7EG+QY1kQIr6gRQGjTmEw/q3zrxCDsO7ehw2RTzx0seT xuqyQx1Fcn/UvW4MInAGxtg33o5roddaVW4KDsJTacFgTrxbT06KrANrRHRywBsQ lJHxRyCRkk1Fsr5BCp4dD3sUfKdEEOdUAhy+u/6RVFidx5G4riFd6ajhgKNOkar/ osyY7FhiTUikQAU90cl4I4MIMSVETqAyhw8eMKc1RdTjwZIx52P66jtogAEZRMCj TXEGqYnr1a0rygLmgegHBMlFCM00d90x+rjjGFCUae+IuQvYxMSwV4xq65fOJbSK 3GzjZWpvnyEwHdC5Drodr6UzfceM9RlYjTsEEdfiZOQw4m4JKXyUR2rMazhkIzqt ZNVQGbbqWh01jFMy5RdxhGhi2w8dhUYrgCZuwP0XS8YtqbxYy+o=
    =n103
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)