CVE-2022-25327 Local Denial of Service in fscrypt PAM module
A local attacker can create malicious metadata files to prevent other users from logging in, causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25327?
CVE-2022-25327 is a medium-severity denial of service vulnerability in Google LLC fscrypt, published on 25 Feb 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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
Which versions are affected by CVE-2022-25327?
5 open source packages ship an affected version, including github.com/google/fscrypt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/google/fscrypt Go | All versions | 0.3.3 |
github.com/google/fscrypt Go | All versions | 0.3.3 |
github.com/google/fscrypt Go | All versions | 0.3.3 |
github.com/google/fscrypt Go | All versions | 0.3.3 |
github.com/google/fscrypt Go | All versions | 0.3.3 |
Products include Google Fscrypt.
How do I fix CVE-2022-25327?
Upgrade github.com/google/fscrypt to 0.3.3 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-25327 being exploited?
There is no known exploitation of CVE-2022-25327 in the wild and no public exploit code.
Other vulnerabilities in Google LLC fscrypt
Sources
Also known as DEBIAN-CVE-2022-25327, GHSA-8vwm-8vj8-rqjf, GHSA-p93v-m2r2-4387, GO-2022-0340, UBUNTU-CVE-2022-25327.