Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-6558

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-6558
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:30 UTC · Revision 1

Source evidence

CVE-2018-6558

core-osv · Original source

Published 23 Aug 2018, 19:29 UTC

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

osv:CVE-2018-6558
Complete source record
{
  "id": "4dae0cbd93528e6aa73327017245bd62d146435e9999e26936fc2c99b1150ce2",
  "url": "https://osv.dev/vulnerability/CVE-2018-6558",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-6558",
    "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).",
    "evidence": "osv:CVE-2018-6558",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-6558",
      "aliases": [
        "CVE-2018-6558",
        "GHSA-qj26-7grj-whg3",
        "GO-2020-0027"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/google/fscrypt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1e1b67dae6c3ae3b5acb5ce377b01b286c3e676b"
                },
                {
                  "fixed": "3022c1603d968c22f147b4a2c49c4637dd1be91b"
                },
                {
                  "fixed": "315f9b042237200174a1fb99427f74027e191d66"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:fscrypt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3022c1603d968c22f147b4a2c49c4637dd1be91b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "315f9b042237200174a1fb99427f74027e191d66"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.2.3",
            "v0.2.2",
            "0.2.2",
            "v0.2.1",
            "0.2.1",
            "v0.2.0",
            "0.2.0",
            "v0.1.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6558.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:29.429755717Z",
      "provider": "osv",
      "references": [
        "https://github.com/google/fscrypt/issues/77",
        "https://github.com/google/fscrypt/commit/3022c1603d968c22f147b4a2c49c4637dd1be91b",
        "https://github.com/google/fscrypt/commit/315f9b042237200174a1fb99427f74027e191d66",
        "https://launchpad.net/bugs/1787548"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-6558",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381759,
  "published_at": "2018-08-23T19:29:01.127+00:00"
}