CVE-2022-3421

Privilege escalation in Google Drive for Desktop on MacOS

Description

An attacker can pre-create the `/Applications/Google\ Drive.app/Contents/MacOS` directory which is expected to be owned by root to be owned by a non-root user. When the Drive for Desktop installer is run for the first time, it will place a binary in that directory with execute permissions and set its setuid bit. Since the attacker owns the directory, the attacker can replace the binary with a symlink, causing the installer to set the setuid bit on the symlink. When the symlink is executed, it will run with root permissions. We recommend upgrading past version 64.0

Categories

5.6
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.01%
Vendor Advisory google.com
Affected: Google LLC Drive for Desktop MacOS
Published at:
Updated at:

References

Link Tags
https://support.google.com/a/answer/7577057?hl=en release notes vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-3421?
CVE-2022-3421 has been scored as a medium severity vulnerability.
How to fix CVE-2022-3421?
To fix CVE-2022-3421, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-3421 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-3421 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-3421?
CVE-2022-3421 affects Google LLC Drive for Desktop MacOS.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.