PT-2018-17633 · Linux · Fscrypt

Mark

+1

·

Published

2018-08-23

·

Updated

2021-06-23

·

CVE-2018-6558

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions fscrypt versions prior to 0.2.4
Description The issue concerns the pam fscrypt module in fscrypt, which may incorrectly restore primary and supplementary group IDs to the values associated with the root user. This allows attackers to gain privileges via a successful login through certain applications that use Linux-PAM. Specifically, after dropping and then elevating process privileges, the euid, guid, and groups are not properly restored to their original values, allowing an unprivileged user to gain membership in the root group.
Recommendations For versions prior to 0.2.4, update to version 0.2.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of the pam fscrypt module until a patch is available. Avoid using applications that rely on Linux-PAM for authentication until the issue is resolved.

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2018-6558
GHSA-QJ26-7GRJ-WHG3
GO-2020-0027

Affected Products

Fscrypt