CVE-2023-46248CWE-15

Overwrite of builtin Cody commands facilitates RCE

Critical · published October 31, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
65.1
In the wild
Unconfirmed
What it is

🚨 A tiny configuration file is your gateway to chaos! The Cody AI VSCode extension (versions 0.10.0 to 0.14.0) has a critical remote code execution vulnerability that could let bad actors run arbitrary code on your machine! 🔥 Think of it like a sneaky delivery person who swaps your important package with a fake one containing instructions to take over your home automation system—trusting the wrong package can lead to disaster! If an attacker takes control of a malicious repository and tricks you into executing altered Cody commands, they can unleash any code they want on your computer. This could mean the difference between a productive coding session and an absolute catastrophe as your machine does their bidding!

Put simply

Think of it like a sneaky delivery person who swaps your important package with a fake one containing instructions to take over your home automation system—trusting the wrong package can lead to disaster! This vulnerability arises when an attacker modifies the configuration file `.vscode/cody.json` in a malicious repository. When a user executes a command through the Cody extension, it unwittingly runs the attacker's code instead. 🔓

What to do

If an attacker takes control of a malicious repository and tricks you into executing altered Cody commands, they can unleash any code they want on your computer. This could mean the difference between a productive coding session and an absolute catastrophe as your machine does their bidding! Upgrade your Cody VSCode extension to version 0.14.1 immediately to close this security hole. If you can't update right away, avoid opening untrusted repositories with Cody loaded—it's the best way to stay safe! You've got this! With these steps, you'll be on your way to securing your environment in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01090 · 65.1th percentile
Weakness
CWE-15 · External Control of System or Configuration Setting
Published
2023-10-31T15:11Z
EPSS history
Timeline
  • 31 OCT 15:11Z
    Overwrite of builtin Cody commands facilitates RCE
    cvelistv5