Skip to content
OpenAdvisories
Medium · 6.5 CVE-2018-6558 EUVD-2021-1381GHSA-qj26-7grj-whg3GO-2020-0027

Privilege Escalation in fscrypt

Published Aug 23, 2018 · Updated Sep 17, 2024 · Assigned by canonical

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

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

ReleasePackageFixed inAdvisory
Debian 14 fscrypt 0.2.4-1 —
Debian 13 fscrypt 0.2.4-1 —
Debian 12 fscrypt 0.2.4-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS fscrypt 0.2.2-0ubuntu2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/google/fscrypt < 0.2.4 0.2.4 GHSA-qj26-7grj-whg3

References