Skip to content

CVE-2022-3421 Privilege escalation in Google Drive for Desktop on MacOS

HighCVSS 7.3 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Google drive < 64.0 64.0 Fixed
Google Drive for Desktop MacOS < 64.0 64.0 Fixed

Affected products

ProductAffected versionsFixed in
Google Drive for Desktop MacOS < 64.0 64.0
Google drive < 64.0 64.0

References