VULNERABILITY INTELLIGENCE
CVE-2022-3421
CVSS score5.6 MEDIUM
EPSS probability0.12%
CISA KEVNot currently listed
Published2022-10-17
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
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
Weakness classification
- cve-coordination@google.com: CWE-264
- nvd@nist.gov: CWE-269
Primary references
- cve-coordination@google.com — Release Notes, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Vendor Advisory