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 by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.9 | AV:N/AC:M/Au:S/C:N/I:P/A:P |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.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
- CVE List: CVE-2018-6558
- GitHub Advisory: GHSA-qj26-7grj-whg3
- NVD: CVE-2018-6558
- OSV: GO-2020-0027
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.