Advisory

PYSEC-2021-380

Also known as: CVE-2021-40720, GHSA-x23q-4j9j-9cxw

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-10-15 15:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

ops-cli

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.5 (ecosystem)

Fixed versions

2.0.5

Fix

  • Fixed version 2.0.5
    pip install --upgrade ops-cli==2.0.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences