{"id":"UBUNTU-CVE-2022-25326","details":"fscrypt through v0.3.2 creates a world-writable directory by default when setting up a filesystem, allowing unprivileged users to exhaust filesystem space. We recommend upgrading to fscrypt 0.3.3 or above and adjusting the permissions on existing fscrypt metadata directories where applicable.","modified":"2025-10-24T04:53:32Z","published":"2022-02-25T11:15:00Z","upstream":["CVE-2022-25326"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25326"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/02/24/1"},{"type":"REPORT","url":"https://github.com/google/fscrypt/commit/6e355131670ad014e45f879475ddf800f0080d41"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25326"}],"affected":[{"package":{"name":"fscrypt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/fscrypt@0.2.2-0ubuntu2.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.2-0ubuntu2","0.2.2-0ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"fscrypt","binary_version":"0.2.2-0ubuntu2.1"},{"binary_name":"golang-github-google-fscrypt-dev","binary_version":"0.2.2-0ubuntu2.1"},{"binary_version":"0.2.2-0ubuntu2.1","binary_name":"libpam-fscrypt"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25326.json"}},{"package":{"name":"fscrypt","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/fscrypt@0.2.5-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.4-2","0.2.5-1","0.2.5-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.2.5-2","binary_name":"fscrypt"},{"binary_name":"libpam-fscrypt","binary_version":"0.2.5-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25326.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}