CVE-2021-40720 Ops CLI Deserialization of Untrusted Data leads to Abritrary Code Execution

Critical 9.8 Published Updated

An attacker can execute arbitrary code on a victim's machine by tricking them into processing a maliciously crafted file with Adobe Ops CLI.

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

What is CVE-2021-40720?

CVE-2021-40720 is a critical unsafe deserialization vulnerability in Adobe Ops-CLI, published on 15 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Ops CLI version 2.0.4 (and earlier) is affected by a Deserialization of Untrusted Data vulnerability to achieve arbitrary code execution when the checkout_repo function is called on a maliciously crafted file. An attacker can leverage this to execute arbitrary code on the victim machine.

Weakness: CWE-502

Which versions are affected by CVE-2021-40720?

3 open source packages ship an affected version, including ops-cli. It affects 1 product.

PackageAffectedFixed in
ops-cli PyPIAll versions2.0.5
ops-cli PyPIAll versions2.0.5
ops-cli PyPIAll versions2.0.5

Products include Adobe Ops-Cli.

How do I fix CVE-2021-40720?

Upgrade ops-cli to 2.0.5 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-40720 being exploited?

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

Sources

Also known as GHSA-x23q-4j9j-9cxw, PYSEC-2021-380.

Is CVE-2021-40720 in your software?

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

Check your SBOMs for free