CVE-2022-3421

published 17 Oct 2022 · updated 21 Apr 2025

Privilege escalation in Google Drive for Desktop on MacOS

5.6MediumCVSS 5.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Drive for Desktop MacOS 64.0.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GoogleDrive for Desktop MacOS<64.064.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Google, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-3421 severity on Zeptric[![CVE-2022-3421](https://zeptric.io/badge/cve/CVE-2022-3421.svg)](https://zeptric.io/cve/CVE-2022-3421)