Description
The pam_fscrypt module in fscrypt before 0.2.4 may incorrectly restore primary and supplementary group IDs to the values associated with the root user, which allows attackers to gain privileges via a successful login through certain applications that use Linux-PAM (aka pam).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The fscrypt Project | fscrypt | before 0.2.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fscrypt | 0.2.4-1 | — |
| Debian 13 | fscrypt | 0.2.4-1 | — |
| Debian 12 | fscrypt | 0.2.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | fscrypt | 0.2.2-0ubuntu2.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/google/fscrypt | < 0.2.4 | 0.2.4 | GHSA-qj26-7grj-whg3 |