Canonical authd
authd Denial of Service and Local Privilege Escalation
authd prior to version 0.6.4 contains a logic error in primary group ID assignment that can lead to local privilege escalation. When a user's primary group ID (GID) differs from their UID, either because the account was created with authd prior to version 0.5.4 or because the primary group was manually changed via the `authctl group set-gid` command, and the user's identity provider record is updated, authd incorrectly resets the user's primary group ID to their UID upon next login. This causes newly created files and directories to be owned by the wrong group, causing denial of service issues, and potentially granting unintended access to other local users and allowing local privilege escalation.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.6.0, < 0.6.4
- >= 0.6.1, < 0.6.1ubuntu0.1
Fixed in 0.6.4, 0.6.1ubuntu0.1
Mitigation
Upgrade authd to 0.6.4 or 0.6.1ubuntu0.1 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.