CVE-2022-3421

Medium

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

SeverityMedium
CVSS5.6
Exploit probability—
ProductGoogle Drive
PublishedOct 17, 2022
First seenOct 17, 2022
Weakness typeCWE-264CWE-264

How to fix

Update
  • google drive64.0 or later

Affected products

ProductAffected versionsFixed in
google drivev < 64.064.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.