6.5med

CVE-2018-6558

Privilege Escalation in fscrypt

Also known as GHSA-qj26-7grj-whg3, GO-2020-0027

Published 8 y ago · modified 4 mo ago · JSON

CVSS
6.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.6%
percentile 50%
Public exploits
0
none known

Summary

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

Exploit prediction (EPSS)

0.62% probability of exploitation in the next 30 days, higher than 50% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.06.5CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD2.04.9AV:N/AC:M/Au:S/C:N/I:P/A:P
GitHub3.06.5CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/google/fscrypt
<0.2.4
0.2.4

Affected products

  • The fscrypt Project fscrypt

References

  • github.com /google/fscrypt/issues/77 · x_refsource_MISC, x_transferred
  • github.com /google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b · x_refsource_MISC, x_transferred
  • github.com /google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66 · x_refsource_MISC, x_transferred
  • launchpad.net /bugs/1787548 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-6558 · advisory
  • github.com /google/fscrypt · package
  • pkg.go.dev /vuln/GO-2020-0027 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.