GLSA 202107-31: polkit: Privilege escalation

Severity:high
Title:polkit: Privilege escalation
Date:07/13/2021
Bugs: #794052
ID:202107-31

Synopsis

A vulnerability in polkit could lead to local root privilege escalation.

Background

polkit is a toolkit for managing policies related to unprivileged processes communicating with privileged process.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-auth/polkit < 0.119 >= 0.119 All supported architectures

Description

The function polkit_system_bus_name_get_creds_sync() was called without checking for error, and as such temporarily treats the authentication request as coming from root.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All polkit users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=sys-auth/polkit-0.119"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202107-31.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!