{"id":"UBUNTU-CVE-2022-25328","details":"The bash_completion script for fscrypt allows injection of commands via crafted mountpoint paths, allowing privilege escalation under a specific set of circumstances. A local user who has control over mountpoint paths could potentially escalate their privileges if they create a malicious mountpoint path and if the system administrator happens to be using the fscrypt bash completion script to complete mountpoint paths. We recommend upgrading to version 0.3.3 or above","modified":"2025-07-16T07:44:19.462727Z","published":"2022-02-25T11:15:00Z","withdrawn":"2025-07-18T16:49:18Z","upstream":["CVE-2022-25328"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-25328"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/02/24/1"},{"type":"REPORT","url":"https://github.com/google/fscrypt/commit/fa1a1fdbdea65829ce24a6b6f86ce2961e465b02"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-25328"}],"affected":[{"package":{"name":"fscrypt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/fscrypt@0.3.3-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.3-1"}]}],"versions":["0.2.9-1build1","0.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fscrypt","binary_version":"0.3.3-1"},{"binary_name":"libpam-fscrypt","binary_version":"0.3.3-1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-25328.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}