Affected by GO-2024-3181
and 1 other vulnerabilities
GO-2024-3181: PAM module may allow accessing with the credentials of another user in github.com/ubuntu/authd
GO-2024-3188: Authd allows attacker-controlled usernames to yield controllable UIDs in github.com/ubuntu/authd
package
Version:
v0.3.7
Opens a new window with list of versions in this module.
Published: Dec 11, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package permissions handles peer user detection and permissions.
WithUnixPeerCreds returns the credentials of the caller.
Manager is an abstraction of permission process.
New returns a new Manager.
IsRequestFromRoot returns nil if the request was performed by a root user.
The pid and uid are extracted from peerCredsInfo in the gRPC context.
type Option func(*options)
Option represents an optional function to override Manager default values.
Source Files
¶
Directories
¶
Package permissionstestutils are exported functions to be run in 3rd party package or integration tests.
|
Package permissionstestutils are exported functions to be run in 3rd party package or integration tests. |
Click to show internal directories.
Click to hide internal directories.