CVE-2023-35174 Livebook Desktop's protocol handler can be exploited to execute arbitrary command on Windows

High 8.6 Published Updated

Attackers can execute arbitrary commands on Windows machines by tricking users into opening a malicious Livebook protocol link.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-35174?

CVE-2023-35174 is a high-severity command injection vulnerability in livebook-dev livebook, published on 22 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Livebook is a web application for writing interactive and collaborative code notebooks. On Windows, it is possible to open a `livebook://` link from a browser which opens Livebook Desktop and triggers arbitrary code execution on victim's machine. Any user using Livebook Desktop on Windows is potentially vulnerable to arbitrary code execution when they expect Livebook to be opened from browser. This vulnerability has been fixed in version 0.8.2 and 0.9.3.

Weakness: CWE-78

Which versions are affected by CVE-2023-35174?

4 open source packages ship an affected version, including livebook. It affects 1 product.

PackageAffectedFixed in
livebook HexFrom 0.8.00.8.2
livebook HexFrom 0.8.00.8.2
livebook HexFrom 0.9.00.9.3
livebook HexFrom 0.9.00.9.3

Products include Livebook Livebook.

How do I fix CVE-2023-35174?

Upgrade livebook to a fixed version for your release line: 0.8.2 or 0.9.3.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-35174 being exploited?

There is no known exploitation of CVE-2023-35174 in the wild and no public exploit code.

Sources

Also known as GHSA-564w-97r7-c6p9.

Is CVE-2023-35174 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free