{"schemaVersion":3,"id":"CVE-2022-25327","aliases":["UBUNTU-CVE-2022-25327","DEBIAN-CVE-2022-25327","GHSA-8vwm-8vj8-rqjf","GHSA-p93v-m2r2-4387","GO-2022-0340"],"status":"published","duplicateOf":null,"title":null,"description":"The PAM module for fscrypt doesn't adequately validate fscrypt metadata files, allowing users to create malicious metadata files that prevent other users from logging in. A local user can cause a denial of service by creating a fscrypt metadata file that prevents other users from logging into the system. We recommend upgrading to version 0.3.3 or above","dates":{"published":"2022-02-25T11:00:14.437Z","modified":"2025-04-21T13:56:22.478Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":2.1,"severity":"low","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00114,"percentile":0.01397,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.0020000000000000052,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00112},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00114,"percentile":0.01397}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00114,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00114,"percentile":0.01397}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-255","name":"Credentials Management Errors","description":"Weaknesses in this category are related to the management of credentials.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/255.html"},{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"}],"affected":[{"vendor":"debian","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/fscrypt","purlType":"deb","versions":[{"text":"< 0.3.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/fscrypt","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/google","product":"fscrypt","name":"github.com/google/fscrypt","label":"fscrypt","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/google/fscrypt","purlType":"golang","versions":[{"text":"< 0.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3","eol":null,"hubHref":null},{"vendor":"google llc","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ 0.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ 0.3.2","eol":null,"hubHref":"/vendor/google_llc/fscrypt"},{"vendor":"google","product":"fscrypt","name":"fscrypt","label":"fscrypt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.3.3","eol":null,"hubHref":"/vendor/google/fscrypt"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/google/fscrypt/pull/346","label":"github.com/google/fscrypt/pull/346","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-25327","label":"ubuntu.com/security/CVE-2022-25327","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2022/02/24/1","label":"www.openwall.com/lists/oss-security/2022/02/24/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://github.com/google/fscrypt/commit/1a47718420317f893831b0223153d56005d5b02b","label":"github.com/google/fscrypt/commit/1a47718420317f893831b0223153d56005d5b02b","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/google/fscrypt/commit/74e870b7bd1585b4b509da47e0e75db66336e576","label":"github.com/google/fscrypt/commit/74e870b7bd1585b4b509da47e0e75db66336e576","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/google/fscrypt/commit/b44fbe71e1e93c47050322af51725bac997641e0","label":"github.com/google/fscrypt/commit/b44fbe71e1e93c47050322af51725bac997641e0","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25327","label":"www.cve.org/CVERecord?id=CVE-2022-25327","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-25327","label":"security-tracker.debian.org/tracker/CVE-2022-25327","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25327","label":"nvd.nist.gov/vuln/detail/CVE-2022-25327","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb","label":"github.com/google/fscrypt/commit/91aa3ebf42032ca783c41f9ec25d885875f66ddb","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/google/fscrypt","label":"github.com/google/fscrypt","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/google/fscrypt/security/advisories/GHSA-p93v-m2r2-4387","label":"github.com/google/fscrypt/security/advisories/GHSA-p93v-m2r2-4387","hostname":"github.com","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0340","label":"pkg.go.dev/vuln/GO-2022-0340","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-8vwm-8vj8-rqjf","label":"github.com/advisories/GHSA-8vwm-8vj8-rqjf","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11902-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11902-1"]},"timeline":[{"kind":"published","date":"2022-02-25T11:00:14.437Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-21T13:56:22.478Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T03:49:12.443Z","stale":false,"partial":false}}